Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Open source alternative for TestDrive.net 'Visual Studio add in' for unit testing?

I searched about this in SO and dint find a post on this. Since TestDriven.net is ONLY free for personal use, is there any other open source visual studio add in available for running NUnit test cases?

Thank you.

NLV

like image 413
NLV Avatar asked Jul 16 '10 13:07

NLV


People also ask

How do I run all unit tests in Visual Studio?

To run all the tests in a default group, choose the Run icon and then choose the group on the menu. Select the individual tests that you want to run, open the right-click menu for a selected test and then choose Run Selected Tests (or press Ctrl + R, T).

What is the pre requisite to unit testing C# with MS test and net?

Create the test project The test project requires other packages to create and run unit tests. dotnet new in the previous step added the MSTest SDK, the MSTest test framework, the MSTest runner, and coverlet for code coverage reporting. You can see the entire file in the samples repository on GitHub.

Can a unit test be written without the NUnit framework library?

The NUnit Test Adapter allows you to run NUnit tests inside Visual Studio. If you do not add this component in your project you will not be able to find your tests in test Explorer. You need to install both the Libraries in the project where you are writing the test methods only.


1 Answers

There's nothing in the Personal licence that means it can't be used on commercial projects. It's "personal" in that the license is bound to the person who downloaded it; for example, you're not allowed to download it once and install it on your co-workers machines.

I do suggest that professional developers purchase a license (or more reasonably persuade their employer to). There is however always the free option for budget-constrained users.

You can read more on my July, 2006 post here: http://weblogs.asp.net/nunitaddin/archive/2006/07/10/EnterpriseAndProfessional.aspx

I hope that makes sense.

like image 144
jcansdale Avatar answered Oct 12 '22 00:10

jcansdale