We have few project within our solution.
our test have to be run in a particular order for them to pass. If the order is changed most test cases would fail.
(Most of our test cases are running against physical database. So the database should be created first and then the test cases should be run)
Normally we use VSMDI file in the Visual studio to do this job.
Is their a way to import VSMDI file into Ncrunch so that test would always run in a particular order.?
I am doing evaluation now . Only if I can pass this we can go to the next stage.
Thanks for posting and for your interest in NCrunch!
Unfortunately, the mechanics of NCrunch make custom test sequences impossible. This is because the engine is designed to execute test in order of priority (which is dynamically determined) rather than in a fixed sequence. There is no way to use such a test suite with NCrunch without redesigning the test suite. As a suggestion, you may be able to make use of [AssemblyInitialize] in order to set up the database for other tests to run.
You can find more information on this in the test atomicity section of the documentation.