【发布时间】:2010-06-09 11:20:31
【问题描述】:
您好, 目前我们将项目迁移到 .net 4。我们还使用 .nunit 2.5.5 和 testdriven.net 3。 我在运行测试时遇到了这个错误。
Test 'TestCase1' failed: System.IO.FileNotFoundException : Could not load file or assembly 'Microsoft.VisualStudio.QualityTools.UnitTestFramework, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.
at NetSpec.TestingExtensions.ShouldEqual(Object o, Object expected)
at NetSpec.TestingExtensions.ShouldBe(Object o, Object expected)
Personnel\CivilServant\SubCategorySpec.cs(37,0): at Azarakhsh.Domain.Test.Personnel.CivilServant.when_validate_a_subCategoey.should_have_code()
0 passed, 1 failed, 0 skipped, took 9.35 seconds (NUnit 2.5.5).
【问题讨论】:
标签: nunit .net-4.0 testdriven.net