CUnit
CUnit copied to clipboard
CUnit is short for Contracted Unit Test which means you only specify the contracts of a method then you can get the unit test results of the contracts. (或者你也可以称 Chinese Unit Test)
The test cases in a single test method may capture common variables in the method header. So a test case may affect each other. ```csharp public void Foo() { var...
使用的时候,发现如下错误,使用传统的 [TestMethod] 没有问题。 还没有进一步调查,回头弄个最小 demo 复现。 ``` 矩阵水平镜像 源: ImagePixelDataHandleTest.cs 行 16 持续时间: 5 毫秒 消息: 执行测试时引发了异常。如果使用的是扩展 TestMethodAttribute,请与供应商联系。 错误消息: Object reference not set to an instance of an object., 堆栈跟踪:...