English 中文(简体)
指挥 测试
原标题:Command Test.DebugTestsInCurrentContext appears deprecated

TL;DR Can I still debug a test in the current context in VS11?

视力演播室(在2010年和11年核实)使用经测试的单位检测,甚至,显然称为。 测试.Debug 测试 这是一种单一试验方式。

为了使用这一指挥系统,你在方法(有关单位试验)中把你的 cur放在任何地方,然后要么把)放在其中。

页: 1 使用(fault)键盘短标Ctrl+R,Ctrl+T

or

2 P-4, 2 P-3, 2 FS, 2 NS 使用菜单测试=>Debug=> 目前情况下的试验。 (2010年,不知道2008年)

我现在使用VS 11 Beta,发现 hitR、^T没有任何东西(不是指挥)。 我检查了主要的约束力,发现指挥系统<代码>。 测试.Debug 试验:InCurrentContext,按照我们的期望将其绘制成欧洲复兴开发银行,并再次尝试。 当时情况报告:

<编码> 关键组合(Ctrl+R,Ctrl+T)必须(目前尚不具备的Debug TestsInCurrentContext)。

视觉演播室11有一个新的联检组试验探索者。 在经过一次测试之后,它便配有解决方案单位测试。 此时,我得以施展......和科斯塔尔(我有几处试验),发现我有兴趣进行节点测试,并选择这种试验(着重说明)。 此时此刻,我可以正确地点击=和;“选择测试”或浏览菜单,“单位测试”和“gt”;Debug Unit Tests=>S selected Tests。

因此,我发现我可以在VS11的单一单位试验中用掉。

页: 1 在进行所有测试后,在单位检测器中进行单位测试

2 选择

3 替代“选择试验”

是否有较容易的办法? 曼 谷 在目前情况下,我没有利用旧的指挥来进行欺骗试验? 这一指挥系统是否陈旧?

最佳回答

I decided to ask my question on the msdn forums. I got a response, in short: "the feature is broken in beta, will be back in rtm"

全文见here

问题回答




相关问题
Manually implementing high performance algorithms in .NET

As a learning experience I recently tried implementing Quicksort with 3 way partitioning in C#. Apart from needing to add an extra range check on the left/right variables before the recursive call, ...

Anyone feel like passing it forward?

I m the only developer in my company, and am getting along well as an autodidact, but I know I m missing out on the education one gets from working with and having code reviewed by more senior devs. ...

How do I compare two decimals to 10 decimal places?

I m using decimal type (.net), and I want to see if two numbers are equal. But I only want to be accurate to 10 decimal places. For example take these three numbers. I want them all to be equal. 0....

Exception practices when creating a SynchronizationContext?

I m creating an STA version of the SynchronizationContext for use in Windows Workflow 4.0. I m wondering what to do about exceptions when Post-ing callbacks. The SynchronizationContext can be used ...

Show running instance in single instance application

I am building an application with C#. I managed to turn this into a single instance application by checking if the same process is already running. Process[] pname = Process.GetProcessesByName("...

How to combine DataTrigger and EventTrigger?

NOTE I have asked the related question (with an accepted answer): How to combine DataTrigger and Trigger? I think I need to combine an EventTrigger and a DataTrigger to achieve what I m after: when ...

热门标签