更新时间:2023-10-19 20:45:52
Would 这个有帮助吗?
Would this help?
这周我添加了一些单元测试到由 TFS 管理的项目,所以我决定使用核心"单位测试框架可用VS2008,不幸的是它没有支持行测试.但它有一个类似的称为数据驱动单元测试的功能.用这种方法它有点多实现简单"的复杂RowTest 场景,但它也允许实现更复杂的.
This week I was adding some unit tests to a project that is managed by TFS, so I decided to use the "core" unit testing framework available with VS2008, and unfortunately it doesn't support RowTests. But it has a similar feature called Data-Driven Unit Test. With this approach it's a bit more complicate to implement the "simple" RowTest scenario, but it allows also to implement more complicate ones.