Running the same test file multiple times ignores it’s setUp function
オープン
- 主要言語
- JavaScript
- スター
- 1.9k
- フォーク
- 359
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
When passing the same file multiple times to the nodeunit executable, the tests indeed run multiple times, but the setUp function is just called the first time.
Demonstration:
https://github.com/fsvehla/nodeunit-bug-multiple-runs
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
調査の方向性
まずリンクされた再現手順を実行し、その後、nodeunit 実行ファイルが繰り返されたファイル引数をどのように処理するかを追跡します。完了条件は、同じテストファイルを実行するたびに setUp が1回実行され、繰り返された引数に対するリグレッションカバレッジがあることです。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- javascript, node.js
- 領域
- cli, testing-qa
- issue の種類
- バグ
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 38/100