Reputation: 24063
I am really new to unit tests and I don't know if my question is actually relevent to unit tests - so correct me if I wrong.
I am writing c# code and I have service class that contains many methods I wish to test. I am looking for simplicity and don't have the time right now to get into the real world of unit tests. Is there any tool that I can load dll, specify the class and then it will allow me test each method and explore the return value?
I am just looking for automatic tool, which allow me to test my code in the very low level.
Thanks.
Upvotes: 1
Views: 230
Reputation: 11
Typemock's isolator has a feature which invokes unit-tests for your methods absolutely autonomously, it wont take your time as a developer. It can generate tests both on Nunit and Mstest unit-testing frameworks.
Upvotes: 1
Reputation: 1052
Micorosoft Pex is a Visual Studio add-in for testing .NET Framework applications, it automatically generates test suites with high code coverage. Right from the Visual Studio code editor, Pex finds interesting input-output values of your methods, which you can save as a small test suite with high code coverage.
HTH
Upvotes: 2
Reputation: 488
NUnit is a great testing framework for .NET, or the testing framework that comes built into Visual Studio is also pretty good.
Have a look at the NUnit quick start guide here http://www.nunit.org/index.php?p=quickStart&r=2.2.10
One point, no tool exists to my knowledge that does what you ask, you have to write the tests yourself
Upvotes: 5