How can I control the order my test are run in?
オープン
- 主要言語
- JavaScript
- スター
- 1.9k
- フォーク
- 359
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
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?
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
調査の方向性
提供された nodeunit の例の reporter.run から始め、test/test1.js と test/test2.js で動作を再現します。reporter のテストファイル実行パスを読み、要求された順序が一貫して維持されることを確認してから、関連するテストスイートを実行して動作を確認します。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- javascript
- 領域
- testing
- issue の種類
- バグ
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 38/100