我可以在Visual Studio 2012中使用PEX吗? [英] Can I use PEX with Visual Studio 2012?

查看:117
本文介绍了我可以在Visual Studio 2012中使用PEX吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我看不到有关使Pex在Visual Studio 2012上运行的计划的任何当前信息.

I don't see any current information about the plans to make Pex work on Visual Studio 2012.

推荐答案

Visual Studio 2012可移植库的新Pex扩展名为Code Digger.当前,Code Digger仅与可移植类库一起使用,不能像原始PEX一样自动创建单元测试项目. PEX团队表示,他们将发布新版本,这些版本将添加功能并使其在便携式子集之外运行,尽管没有时间表.

New Pex extension for Visual Studio 2012 Portable Libraries called Code Digger. Currently Code Digger only works with Portable Class Libraries and does not automatically create unit tests projects like the original PEX. The PEX team has said they will have new releases that adds functionality and make it work outside of Portable Subset although there is not a timeframe for that.

博客摘录:

在后台,Code Digger使用Pex引擎和Microsoft Research的Z3约束求解器来系统地分析代码中的所有分支,试图生成可实现高代码覆盖率的测试套件.与Visual Studio中的Peter Provost一起工作在产品组中,我们试图创建一个非常简单的用户界面,我们希望将代码探索的思想带到每个程序员的指尖,这与Pex Power Tools有所不同,在Pex Power Tools中,我们为您提供了许多配置选项,因此您必须接受(参数化)单元测试以获取所有收益的想法.Code Digger并不是Pex的完全替代品,它只是Pex团队为Visual Studio 2012提供的第一个扩展–敬请期待."

"Under the hood, Code Digger uses the Pex engine and Microsoft Research’s Z3 constraint solver to systematically analyze all branches in the code, trying to generate a test suite that achieves high code coverage. Working together with Peter Provost from the Visual Studio product group, we tried to create a really simple user interface. We want to bring the idea of code exploration to every programmer’s fingertips. This is different from the Pex Power Tools where we gave you many options to configure, and you had to embrace the idea of (Parameterized) Unit Testing to get all benefits. Code Digger is not a full replacement of Pex, it is merely the first extension that the Pex team ships for Visual Studio 2012 – stay tuned for more."

这篇关于我可以在Visual Studio 2012中使用PEX吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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