|
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):
Integration test : an automatic test that is done test : ....
It should be a stand-alone test which is not related to other resources.
Unit test : an automatic test to test the internal workings of a class.
|
|
I searched SO with
no tests are run MSTest
but could not find relevant answer.
Scenario:
I have a c# solution with the following structure:
mySolution myProject myProject.MSTests References Microsoft.VisualStudio.QualityTools.UnitTestFramework sutMSTests...
Started by gerryLowry on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
After VS created the unit test project, I added ....
Namespace SO_Answer { public class Class1 { public void Test() { var k = "Hello"; } } }
Saved the project and then went to 'File->Add->New Project' and chose 'Test Project'.
|
|
I was taught that a regression test was a small (only enough to prove you didn't break anything with the introduction of a change or new modules) sample of the overall tests. However, this article by Ron Morrison and Grady Booch makes me think differently...
Started by Thomas Owens on
, 9 posts
by 9 people.
Answer Snippets (Read the full thread at stackoverflow):
They can be run at any not trigger a regression... .
The "if it could possibly break, test it" rule of thumb tests just check to see if a change caused a previously passed test to fail.
Regression tests should have wider scope as well.
|
Ask your Facebook Friends
|
Test test test test test, test it out! What what what what what's it all about? Last edited by JediTricks; 01-31-2011 at 05:12 PM .
Started by JediTricks on
, 1 posts
by 1 people.
Answer Snippets (Read the full thread at actionfigs):
|
|
My current position is this: if I thoroughly test my ASP.NET applications using web tests (in my case via the VS.NET'08 test tools and WatiN, maybe) with code coverage and a broad spectrum of data, I should have no need to write individual unit tests,...
Answer Snippets (Read the full thread at stackoverflow):
Unit testing will test small units-test cycle (as opposed ....
Not only in terms of development time (where you can test a method in isolation much more easily will take longer than executing short methods thousands of times).
|
|
I have a unit test called TestMakeAValidCall() . It tests my phone app making a valid call.
I am about to write another test called TestShowCallMessage() that needs to have a valid call made for the test. Is it bad form to just call TestMakeAValidCall...
Started by Vaccano on
, 7 posts
by 7 people.
Answer Snippets (Read the full thread at stackoverflow):
Instead of creating a call through your other test, mock out a call and pass it in as an argument A unit test should....
You want your unit test to test one thing and one thing only.
I think its a bad idea.
Other tests.
|
|
I've already checked this.. similar question but I am not convinced about the answers...
I currently have an interface that is only being implemented by one class, but that is going to change sooner or later. I currently have a test against the interface...
Started by bangoker on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
Of course, if your 0) then you could test that for ....
What could a test for the IShape.Area property reliably assert? In general, therefore, you can realistically test only classes and (concrete) methods.
Square and RorschachBlot.
|
|
Besides the fact that Rails incorporates the database layer into the unit tests (which then is strictly not a unit test), what if I test for model interdependencies, e.g. check if has_many / belongs_to with :dependent => :destroy really destroys the...
Started by hurikhan77 on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
Tests that test behaviour of a single aggregate are usually pretty maintainable as....
Testing interdependencies shouldn't ideas from domain driven design to guide me.
A unit in a unit-test isnt always a single class or object.
|
|
Possible Duplicate:
How do you stress test a web application?
Currently I have configured a project with cc.net, watin and nunit and now I want to do stress, load, and performance testing of my .net projects. Any idea which opensource tool should I use...
Started by sam on
, 15 posts
by 14 people.
Answer Snippets (Read the full thread at stackoverflow):
And last, but not least, there's Homer: Microsoft Web Application... .
Questions/340564/best-way-to-stress-test-a-website/340588#340588
We use Grinder to run load/stress Enterprise Edition you can use the Application Center Test tool as well.
|
|
In the old days programming used to involve less guesswork. I would write some lines of code and be 100% certain about what the code does and what it does not at a glance. Errors were mostly typos, but not about the functionality.
The last years I believe...
Started by Wartin on
, 10 posts
by 10 people.
Answer Snippets (Read the full thread at stackoverflow):
To answer the title of your post - the "test, test, test" principle is a good one, in my are available ....
And this seems to be at least a reasonably common transition? Heck no .
I now unit test until the tests pass...
|