c# 极易单元测试错误
c# extremely easy unit test error
我编写并构建了这个 helloworld 单元测试。它总是有这个构建错误:“The command://...../Nunit.ConsoleRunner3.6/nunit3-console.exe exited with code 1
”。我搜索了所有的计算器,但是没有一个关于 Nunit 测试存在代码 1 的线程,你知道我在哪里可以找到这个代码的信息吗?
using NUnit.Framework;
namespace SomeName
{
[TestFixture]
class IdentifierTest
{
[SetUp]
public void SetUp()
{
}
[TearDown]
public void TearDown()
{
}
[Test]
public void DetectIDTest()
{
Assert.AreEqual("hi","ho");
}
}
}
我编写并构建了这个 helloworld 单元测试。它总是有这个构建错误:“The command://...../Nunit.ConsoleRunner3.6/nunit3-console.exe exited with code 1
”。我搜索了所有的计算器,但是没有一个关于 Nunit 测试存在代码 1 的线程,你知道我在哪里可以找到这个代码的信息吗?
using NUnit.Framework;
namespace SomeName
{
[TestFixture]
class IdentifierTest
{
[SetUp]
public void SetUp()
{
}
[TearDown]
public void TearDown()
{
}
[Test]
public void DetectIDTest()
{
Assert.AreEqual("hi","ho");
}
}
}