Dinesh Kumar
asked on
Unit testing and NUnit testing
Hi, I have lot of questions below in small chunks, please have time to answer them.
1) Does it same Unit testing and NUnit testing? if no what is the difference?
2) I need to write the following case in MVC3 (in mvc3, there is option for adding create a unit test project. Is it same as Nunit test project?)
The email address entered shall not be longer than 60 characters.
3)Please refer the image where I see that it contains only Unit test in VS 2010 2010 and not the NUnit test.
Does that mean VS does not support NUnit Test? Or should I used NUnit Test from http://nunit.org/index.php?p=home
Thanks
Dinesh
Nunit-is-not-seen-here.JPG
1) Does it same Unit testing and NUnit testing? if no what is the difference?
2) I need to write the following case in MVC3 (in mvc3, there is option for adding create a unit test project. Is it same as Nunit test project?)
The email address entered shall not be longer than 60 characters.
3)Please refer the image where I see that it contains only Unit test in VS 2010 2010 and not the NUnit test.
Does that mean VS does not support NUnit Test? Or should I used NUnit Test from http://nunit.org/index.php?p=home
Thanks
Dinesh
Nunit-is-not-seen-here.JPG
What type of project is MvcApplication1.Tests? If it is a Test project created automatically, then you don't need NUnit, you have everything that you need with the Visual Studio 2010 test project.
ASKER
But the following Asserts are not available in MSTest:
* Assert.IsNaN
* Assert.IsEmpty
* Assert.IsNotEmpty
* Assert.Greater
* Assert.GreaterOrEqual
* Assert.Less
* Assert.LessOrEqual
* Assert.IsAssignableFrom
* Assert.IsNotAssignableFrom
* CollectionAssert.IsEmpty
* CollectionAssert.IsNotEmpt y
* StringAssert.AreEqualIgnor ingCase
* StringAssert.IsMatch
* FileAssert.AreEqual
* FileAssert.AreNotEqual
* Assert.IsNaN
* Assert.IsEmpty
* Assert.IsNotEmpty
* Assert.Greater
* Assert.GreaterOrEqual
* Assert.Less
* Assert.LessOrEqual
* Assert.IsAssignableFrom
* Assert.IsNotAssignableFrom
* CollectionAssert.IsEmpty
* CollectionAssert.IsNotEmpt
* StringAssert.AreEqualIgnor
* StringAssert.IsMatch
* FileAssert.AreEqual
* FileAssert.AreNotEqual
ASKER
Moreover, does Automated Testing need to be done using Database only?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
let me give more time to look for any other answer, if exists.