Upgrade to version 3 spec
まだ誰も着手していません。
評価
調査の方向性
まず、リンクされているテストランナーインターフェース仕様を読み、この Lua テストランナーが現在バージョン 1 をどのように実装しているかを確認します。演習の手順 instructions.md と results.json の形式を確認し、.meta/config.json またはテストメタデータで task_id の値を表現できるか検討します。個々のテストを番号付きタスクにリンクできるバージョン 3 インターフェースをサポートすれば完了です。
索引モデルが issue の本文から書いたものです。
説明
If possible, this test runner should be updated to version 3 of the test runner interface specification. In version 3, one additional feature is enabled: the ability to link individual tests to tasks.
This allows the website to show which tests belong to which tasks.
The way tests are linked to tasks is via an (optional) task_id field, which is an integer that matches the number of the task as defined in the exercise's instructions.md file (note: the instructions start at index 1).
This is an example of a test in the results.json file:
{
"name": "Expected oven time in minutes",
"status": "pass",
"task_id": 1,
"test_code": "Assert.Equal(40, Lasagna.ExpectedMinutesInOven());"
}
You are completely free in how to implement this. Some options are:
- Add metadata to a test that the test runner can then discover while running the tests (e.g. an attribute or annotation)
- Define a test name/task id mapping (e.g. in the exercise's
.meta/config.jsonfile) - Any other option you can think of...
As this test runner currently implements version 1 of the test runner specification, it might be good to first upgrade to version 2 of the test runner specification before upgrading to version 3.
Let me know if there are any questions.
- 主要言語
- Lua
- スター
- 0
- フォーク
- 7
- 平均マージ
- 6分
- マージ済み PR(30日)
- 1
環境構築
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートなし
- コントリビューションガイドなし
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
似ている issue
-
bug
難易度 1/5 1〜3時間 初心者へのやさしさ 85/100
bradcypert/plum#265 ·
メンテナーはふだん 1 日以内に返信
-
Lasso not Pastingオープンbug
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
-
code:todo
難易度 1/5 1時間未満 初心者へのやさしさ 72/100
-
Enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
メンテナーはふだん 1 日以内に返信
-
lua: LUA_32BITS is PRIVATE, so consumers get a different ABI than the compiled library対応中かも @suda-morris が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
espressif/idf-extra-components#873 ·
メンテナーはふだん 1 日以内に返信