Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Running tests can try to run non-tests as tests

オープン
#1,480 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

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

調査の方向性

codeql-coding-standards リポジトリを開き、テストペインから c フォルダーを実行して失敗を再現します。フォルダー実行のパスを調べ、--strict-test-discovery を渡した場合と、検出されたテストを明示的に渡した場合を比較します。テストではない pack がテストとして試行されず、テスト pack が引き続き実行されれば完了です。

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

説明

bug VSCode

Describe the bug
When you have a folder that contains both multiple test packs and non-test packs, it will appear as runnable in the UI with the test packs a subpacks. When you run that folder it will also run the non-tests ibnside it as well.

Version
CodeQL extension version: 1.6.11
CodeQL CLI version: 2.10.3
Platform: linux x64

To reproduce
Open https://github.com/github/codeql-coding-standards/tree/next
Run the c folder in the testing pane. See codeql fail to find the extractor for a non-test folder.

Expected behavior

Only to try run the tests as tests.

Additional context

This can be seen by trying to run the c folder on https://github.com/github/codeql-coding-standards/tree/next

I think we either need to pass --strict-test-discovery when running or explicitly pass the set of tests rather than the folder.

主要言語
TypeScript
スター
539
フォーク
240
平均マージ
2日 6時間
マージ済み PR(30日)
29

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

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

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

github/vscode-codeql のほかの issue

github/vscode-codeql の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

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

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