vendredi 7 février 2020

Running TestFixtures in particular order by using NUnit-Console runner

We use NUnit for implementing GUI tests. We have multiple TestFixtures (Test Suites) focused on a set of application functionalities. Test suites have different priorities of execution ( E.g.: Set A need to be verified before running Set B, because Set B uses functionalities from Set A).

My question is: Is there any way how to run test suites in given order using NUnit-Console?

I've tried passing parameter /test for every test suite, parameters were passed in test suite execution priority order, but it didn't work as I expected, test suites weren't executed in required order.

The line was something like that: "[nunit-console runner path]" /test Tests.TestSuiteWithPriority01 /test Tests.TestSuiteWithPriority02 tests.dll

Aucun commentaire:

Enregistrer un commentaire