Everytime I run my DUnitX project, it's ran all tests. Is their a simple way to make it run only one test (The test I m working on for example)? Is it possible specify the test to run in the command line?
DunitX, how to run only one test?
407 views Asked by zeus At
2
There are 2 answers
0
On
To the first part of your question:
Is their a simple way to make it run only one test
DUnitX will skip private methods. So just add a private label (i.e. section) on top of all your tests, and leave the one you want to test in a public/published section.
When you're done, remove the private label.
I haven't used the options yet but it appears that it has command line options to run one test or multiple tests, or use a file to hold the tests to run.
DUnitX command line options