Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如果我想在一个测试项目中结合单元测试和集成测试。如何确保在 CI 自动构建期间我只能运行 unt 测试子集?
您可以注释每个测试 [TestCategory("Unit")] 或 [TestCategory("Integration")]。 将项目编译为两个 dll 会很好,但我不知道方法。