Using `generate-test-file` to update an existing test suite?

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

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

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
48/100
issue の種類
機能追加
明瞭さ
明確に書かれている
活発さ
停滞
技術スタック
shell
領域
cli, tooling

調査の方向性

./bin/generate-test-file から始めて、problem-specifications リポジトリとローカルの tests.toml をどのように読み取るかを調べます。既存の suite を更新する場合も含め、include = false のテストが意図どおりに扱われることを確認します。除外されたテストが生成されず、それ以外のテストが新規および既存の suite で引き続き利用できれば完了です。

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

説明

Is ./bin/generate-test-file intended only for use in creating new exercises or for updating existing exercise test suites as well? It's pulling from the problem-specifications repository, but notably, it doesn't check the local tests.toml file so it ends up generating all tests. That's a problem because new tests can be introduced to replace existing previous tests. A maintainer may also decide not to include a particular test. In either case, include = false should be honored if present underneath a given test and that test skipped. That'd make maintenance a lot simpler since you could use the same script to generate new test suites or update existing ones.

主要言語
Shell
スター
2
フォーク
9
平均マージ
2時間 24分
マージ済み PR(30日)
3

環境構築

はじめの一歩

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

exercism/yamlscript のほかの issue

exercism/yamlscript の issue をすべて見る

似ている issue

Shell/Bash の issue をもっと見る

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

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