简体   繁体   中英

Can we auto generate nunit test cases in visual studio 2013

我必须在 Visual Studio 2013 专业版中为由 aspx.cs 文件组成的巨大应用程序编写 nunit 测试用例,如果可能,我是否可以使用此版本或任何其他更好的想法来自动生成测试用例来编写测试用例,因为它包含更多的依赖和复杂性

you are lucky, because in fact you can (partially). It is true the guys above wrote. You can not let software test software because it doesn't know what the requirements oft a unit under test are.

BUT you can use Test Case generation tools such as devmate, which is a visual studio extension

devmate is gathering the input values of your testmethod and providing a test model editor. You than have to create input values, testcases and output values considering the requirments and than >>> you can auto generate testcode .

here is a link to the extension in the Visual Studio Marketplace .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM