Mocha - test execution order - Priority

56 views
Skip to first unread message

Vidhya Arumugam

unread,
Jul 21, 2022, 1:30:43 AM7/21/22
to Mocha
Hi,

Default test execution order - The order we write the tests irrespective of its name.

Can we set any priority to the test execution order?

How can we set dependencies for a test? Say only if test 1 passes test 2 needs to be executed.

Thanks in advance for the help.
Reply all
Reply to author
Forward
0 new messages