|
What is Unit test, Integration Test, Smoke test, Regression Test and what are the differences between them? And Which tools can I use for each of them?
For example I use JUnit,NUnit for Unit testing and Integration Testing. Are there any Smoke Test,Regression...
Started by mcaaltuntas on
, 8 posts
by 8 people.
Answer Snippets (Read the full thread at stackoverflow):
It should be a stand-alone test....
Flick the switchUnit test : an automatic test to test the internal workings of a class.
A smoke test was that time you first switched on your prototype.
I was an electronic engineer.
|
|
Say suppose 10 developers have taken 6 months to develop some application. As a project manager how much time should I spare in my plans for testing?
6 months of effort includes unit testing. I am specific about functional test and user acceptance test...
Started by Pradeep on
, 8 posts
by 8 people.
Answer Snippets (Read the full thread at stackoverflow):
In terms of the development time:
Project | Complexity | Development Time | Test Time | # DevelopersIs there any ratio or relationship between development time and testing time?
No, there's really, defects....
|
|
Some of my mstest unit tests help detect multi-threading race conditions, and as such they are most useful when run many times in a row, but I only want to do this for specific test runs -- not all the time.
Is there a way to configure mstest (in the ...
Started by Andrew Arnott on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
You could assign, however, the multi-threaded test to its own list and call it only when you....
The Test List won't allow you to have multiple entries for the same test.
Consider creating a test to spin off a couple of threads.
|
Ask your Facebook Friends
|
Is there there any way to tell JUnit to run a specific test case multiple times with different data continuously before going on to the next test case?
Started by Giridhar on
, 5 posts
by 5 people.
Answer Snippets (Read the full thread at stackoverflow):
I always just make a helper method that ....
Each unit test should do only one test, IMO.
You would be better off having each data set be a separate test case, so that if there is a failure you can tell more quickly which one failed.
|
|
I have a problematic situation with some quite advanced unit tests (using PowerMock for mocking and JUnit 4.5). Without going into too much detail, the first test case of a test class will always succeed, but any following test cases in the same test ...
Started by Ciryon on
, 9 posts
by 8 people.
Answer Snippets (Read the full thread at stackoverflow):
It seems that your test cases are dependent, that is: the execution of case-X affects the execution will always call before and after each test case, and are typically used to ensure you begin each test tests depend each other....
|
|
The classical unit testing is basically just putting x in and expecting y out, and automating that process. So it's good for testing anything that doesn't involve time . But then, most of the nontrivial bugs I've come across have had something to do with...
Started by Joonas Pulakka on
, 6 posts
by 6 people.
Answer Snippets (Read the full thread at stackoverflow):
And not to forget good the developer assumes (wrongly....
If the tested system is simple enough you could control assume its only matter of time before someone writes one for Java (hopefully).
Actually occur in that particular test run.
|
|
I am working on a test environment for a project, and am looking into using DbUnit.NET to do a lot of the database interaction testing. I do have one very big question though:
We are running against Oracle, and setting up a seperate test DB instance for...
Started by rally25rs on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
We made each test set up its own data - no carry over....
The lock for each test case individually so that a developer who wants to run one test case doesn't have to wait for another developer who's running the whole suite to finish.
|
|
By design, Selenium makes a new copy of your Firefox profile each time a new test is run. I find this copy time is a considerable bottleneck, especially when running 100s of tests. (5-15 seconds to copy the profile anew).
Does anyone know of any override...
Started by Aaron F. on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
It's simply a matter of moving the code below outside of your test setup and into the fixture setup/"); selenium.Start(); selenium.SetTimeout("30000"); selenium.Open("/"); }
Your test setup should of a Firefox process each time, but....
|
|
Hi,
I want to test the speed of an algorithm, what DateTime overload will give me the most precise time? (I still need day/month/year/seconds but then I want milliseconds also).
Started by Blankman on
, 6 posts
by 6 people.
Answer Snippets (Read the full thread at stackoverflow):
Another thing to consider - measure CPU time instead of wall time:
[DllImport("kernel32.dll")] [return: MarshalAs(UnmanagedType.Bool)] static = Stopwatch.StartNew(); // Put the code....
From another process can have a disproportionate effect.
|
|
I have heard that writing (coding) unit tests for your application effectively doubles the development time required for projects. Is this true, particularly for beginners?
Also some follow-up questions (brownie points): If you were doing a client project...
Started by Jason Miyashiro on
, 11 posts
by 11 people.
Answer Snippets (Read the full thread at stackoverflow):
The time- though it does add a factor (20-25% ?)
I mean- even if you didn't have unit test cases- you would still do manually unit test it- right ?
Over the time of the project- you will see that the time spent on unit....
|