开发者

automatic test tool for .net

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.


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


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


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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜