mag*_*tic 26 resharper mstest visual-studio visual-studio-2012 resharper-7.0
自从我升级到VS2012和Resharper 7后,我之前正在进行的MS测试不再运行了.

测试在ASP.NET环境中运行.我使用以下属性:
[TestMethod]
[HostType("ASP.NET")]
[AspNetDevelopmentServerHost("C:\\Projekte\\****\\Website", "/")]
[UrlToTest("http://localhost:7924/")]
Run Code Online (Sandbox Code Playgroud)
知道如何解决这个问题吗?
bar*_*ker 19
虽然奇怪,使用VS2012,使用Resharper 8.0,使用NUnit,我收到此错误是因为我的app.config文件中有一个条目.我添加了一个EntityFramework连接字符串,并开始此行为.删除整个连接字符串部分显示测试运行器再次启动/工作.查看输出显示app.config无效 - 这导致测试运行器中的此特定行为 - "测试未运行".
我将testproject设置为AnyCPU,当发生这种情况时,项目显式设置为x86.将testproject设置为x86为我解决了这个问题.
我正在使用VS2012 R#8和nUnit
| 归档时间: |
|
| 查看次数: |
24068 次 |
| 最近记录: |