When developing iPhone apps with Xcode 3.2.1/Objective C, which unit test tools are recommended?
I am new to the iPhone OS platform and I am interested in your best practices.
I am building a GAE site that uses AJAX/JSON for almost all its tasks including building the UI elements, all interactions and client-server requests. What is a good way to test it for highloads so that I could have some statistics about how much resources 1000 average users per some period of time would take. I think I can create some Python functions for this purpose. What can you advise? Thanks.
Hi,
I have just ported phoneME to our MIPS platform. I feel it runs not that fast; however, is there any performance test suite I can run against to get some quantitative measurement of the performance? I might need to pick some weak points for optimization. In addition, what are common criterions used to evalute a JVM ?
I have an x64 managed C++ class that needs to be tested using Visual Studio 2008. This class links to a x64 unmanaged lib
I'm not able to run my my tests because vstesthost.exe (the exe Visual Studio hosts my test) is x86 and not x64.
Ideas? the error generated is
rror: System.BadImageFormatException: Could not load file or assembly ... or one of its dependencies. An attempt was made to load
I'm testing some Java code that uses an android Bundle, and am getting a runtime exception whenever I create a Bundle in the unit test. The error I'm getting is java.lang.runtimeException at android.os.Bundle when I create the Bundle. It is running with the android SDK in the run configuration.
Has anyone run into this problem before?
Thanks!
In SQL Server, it is possible to test the result of a stored procedure to know if the result return rows or nothing ?
Example :
EXEC _sp_MySp 1, 2, 3
IF @@ROWCOUNT = 0
BEGIN
PRINT('Empty')
END
ELSE
BEGIN
PRINT(@@ROWCOUNT)
END
But @@ROWCOUNT always return 0 so maybe is there another way of doing this ?
Isn't it true that every assert statement can be translated to an Assert.IsTrue, since by definition, you are asserting whether something is true or false?
Why is it that test frameworks introduce options like AreEquals, IsNotNull, and especially IsFalse? I feel I spend too much time thinking about which Assert to use when I write unit tests.
I'm looking for test vectors for AES-256 in CBC mode with essiv:sha256 for the IV-generation,
and for testvectors for AFMerge. Both are used in cryptsetup (a Linux program for disk encryption.)
hi,
I have some problem when i test In-App purchase,there is problem of iTunes connection,so
i want to know that can we use sandbox Environment without itunes connection.Please help
me out for this problem.
Thnx
In Microsoft SQLServer, it is possible to test the result of a stored procedure to know if the result return rows or nothing ?
Example :
EXEC _sp_MySp 1, 2, 3
IF @@ROWCOUNT = 0
BEGIN
PRINT('Empty')
END
ELSE
BEGIN
PRINT(@@ROWCOUNT)
END
But @@ROWCOUNT always return 0 so maybe is there another way of doing this ?
How do you unit test your T-SQL? Which libraries/tools do you use?
What percentage of your code is covered by unit tests and how do you measure it?
Do you think the time and effort which you invested in your unit testing harness has paid off or not?
If you do not use unit testing, can you explain why not?
I am looking to skip a certain statement in my unit tests eg:
if (MessageBox.Show("Are you sure you want to remove " + contact.CompanyName + " from the contacts?", "Confirm Delete", MessageBoxButton.YesNo, MessageBoxImage.Question, MessageBoxResult.Yes) == MessageBoxResult.Yes)
is there an attribute i can place above the statement to avoid the unit test executing it?
I have a method call that generates following output depending on the resultset returned from database...
The data is (pointsdate, points)
9/1/09 , 190
11/1/09 , 77
12/3/09 ,88
2/13/10 , 97
So how do I create NUNIT test for this? What kind of things I could check for? What could be all the possible combination of tests?
I have to test a web app and its API for UTF-8 strings.
Webapp has a text field and its API has corresponding getter method, I have to make sure UTF-8 will work, how do I do that?
How to write Performance Test for .Net application? Does nUnit or any other Testing framework provides framework for this?
Edit: I have to measure performance of WCF Service.
Hallo all,
My director told me that there is a Unit Test framework for Visual Studio from Microsoft, but didn't know what is the name of this tool. Could anyone of you give a hint on it?
Thanks in advance,
John
For example, I have 1000 tests. I run them and 200 fail. I want to create a test list fot the 200 failed list. What is the fatest way to do it?
Thanks guys.
Is it possible to test a web app in an android emulator and an iphone emulator?
Is it possible to direct the browser to a url within a mobile emulator?
I got this event handle and how can I do unit test for this
public class MyLearningEvent
{
private event EventHandler _Closed;
public event EventHandler Closed
{
add
{
_Closed -= value;
_Closed += value;
}
remove
{
_Closed -= value;
}
}
public void OnClosed()
{
if (_Closed != null) _Closed(this, EventArgs.Empty);
}
}
Just modified code so that much clear
Thanks
I'm looking to capture the Cell ID information and also the variable that is responsible for the signal strength bar on the iPhone for testing purposes. The information is accessible via the field test mode - is there any way to capture and store the data?
How can you beta test an iPhone app? I can get it on my own device, and anyone that gives me a device, I can run it on theirs, but is there a way to do a limited release via the app store for beta testing?
Update: Also, see this question on getting your app onto phones without using the App Store.