caolan / caolan/nodeunit

How can I control the order my test are run in?

Open
#116 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
1.9k
Forks
359
PR merge metrics
No merged PRs in 30d

Description

Test run in a random order. With the code bellow test/test1.js is not always run before test/test2.js.

```
var reporter = require('nodeunit').reporters.default;
reporter.run(['test/test1.js','test/test2.js']);
```

Is there a work around?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.