简体   繁体   中英

Running NUnit Tests in parallel using NANT

We have different categories of tests under various assemblies. What is the best possible way to run them in parallel? I am aware of a task in ant, is there any such task in NANT?

I think, from memory, you need NUnit version 2.5.x or above to run parallel unit tests, which I also remember being a paid-for product.

However, if you use MbUnit, the Gallio test-runner that it comes with runs the tests in parallel and is free.

Either way, you get NAnt to call the unit test runner (either NCover/NUnit or Gallio) and it runs them from there, and not direct from NAnt as this is just a scripting language, but one with significant power to call-out to other processes.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM