code-corps / code-corps/code-corps-ember

The default "yarn test" command runs ALL tests 3 times

未關閉
#1,369 5 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
bug
主要語言
JavaScript
星號
120
分支
75
PR 合併指標
30 天內沒有已合併 PR

描述

# Problem

On my machine, when I run `yarn test`, or `yarn test --silent`, all tests execute 3 times. The desired behavior, since this actually executes `ember exam --split=3 --weighted --parallel` would be that 3 partitions would run, each running a fraction of the tests. In addition to that, the 3 partitions run consecutively, not in parallel.

This seems to be related to https://github.com/trentmwillis/ember-exam/issues/108 and, following the conversations there and adding `parallel: -1` to testem.js seems to cause the partitions to execute in paralel, but each partition still runs all of the tests in the suite.

貢獻指南

開啟貢獻指南

研究方向

先從 issue 中描述的 `yarn test` 命令和 `ember exam --split=3 --weighted --parallel` 呼叫開始,然後檢查 `testem.js`,包括其 `parallel` 設定。將其行為與報告中連結的相關 ember-exam issue 進行比較。當三個分割區各自執行測試套件的一部分並平行執行,而不是依序重複執行所有測試時,即表示完成。

由索引模型根據 Issue 內容生成。

評估

技術堆疊
javascript
領域
testing
Issue 類型
缺陷
難度
3/5
預估耗時
1-2 天
活躍度
停滯
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。