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.
我目前为每个测试夹具设置了“[Parallelizable(ParallelScope.Fixtures)]”以并行运行它们。我希望能够为用户添加一个选项,以并行或顺序运行测试装置。有可能这样做吗?
如果您使用命令行,请传递命令行选项,--workers=1以使用一个线程运行。
--workers=1