codeceptjs / codeceptjs/CodeceptJS

Skipped tests are shown in cli report within test execution

オープン
#4,529 コメント 6 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
JavaScript
スター
4.2k
フォーク
757
平均マージ
2日 9時間
マージ済み PR(30日)
16

説明

#### What are you trying to achieve?
In cli within test execution to see only passed/failed tests

#### What do you get instead?

While test execution except passed/failed tests, skipped tests also displayed that make track execution more difficult

![Screenshot 2024-10-27 at 10 31 37](https://github.com/user-attachments/assets/294d5eff-44ea-48cf-9b4b-f6cfcfccd994)

### Details

* CodeceptJS version: 3.6.5
* NodeJS Version: 20
* Operating System: Mac/Linux
* playwright: 1.38.1
* Configuration file:

```js
/** Mocha reporter */
mocha: {
reporterOptions: {
"codeceptjs-cli-reporter": {
stdout: "-",
options: {
verbose: true,
features: true,
}
},
"mocha-junit-reporter": {
stdout: "-",
options: {
mochaFile: 'output/result.[hash].xml',
includePending: false,
}
}
}
},
```

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

まず、示されている mocha reporter 設定で CLI レポートを再現します。特に verbose と features を有効にし、指定された CodeceptJS、Node.js、Playwright のバージョンを使用してください。レポートの出力を要求された動作と比較します。完了とは、成功したテストと失敗したテストが表示されたままになり、スキップされたテストが省略されることを意味します。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
javascript, playwright
領域
cli, testing
issue の種類
バグ
難易度
3/5
見積もり時間
1〜2日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
35/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。