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 ?
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!
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
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.)
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?
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?
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
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 ?
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?
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 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
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.
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.
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'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.
How can i develop a Test Automation Framework for Embedded Devices to achieve the challenge of no dedicated and successful framework for Embedded application in current IT industry.
and what are the ways to develop this framework?
I have written an extension to an existing gem (that is stored in lib) and a corresponding test for my extension.
How could I go about running the gem's tests as well as my own automatically. What is the best practice for this case?