我怎样才能得到PEX自动生成单元测试? [英] How can I get PEX to auto-generate unit tests?

查看:141
本文介绍了我怎样才能得到PEX自动生成单元测试?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我怎样才能得到PEX自动生成在Visual Studio 2013单元测试?

How I can get PEX to auto-generate unit tests in Visual Studio 2013?

我可以自动生成单元测试PEX在Visual Studio 2010和菜单是由函数体中右击找到。

I can auto-generate unit tests with PEX in visual studio 2010 and the menu was found by right clicking in the function body.

推荐答案

对于Visual Studio 2013,它们提供了命名为codeDigger PEX框架(轻量级版本)。

For Visual Studio 2013, they do provide PEX framework (lightweight version) named as CodeDigger.

不过,codeDigger是有限的,它只是产生的输入和输出。

But CodeDigger is limited that it just generates a table of all the possible combinations of inputs and output.

没有选项复制表或保存任何的测试套件。

No options to copy that table or Save any of the test suites.

codeDigger给人以最少的帮助。没有那么大。

CodeDigger gives a minimal help. Not so great

这篇关于我怎样才能得到PEX自动生成单元测试?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆