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

Making Tests Independent From Academic Year Term Code

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

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

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
55/100
issue の種類
リファクタリング
明瞭さ
おおむね明確
活発さ
活発
技術スタック
python
領域
testing

調査の方向性

lsf テストでハードコードされた termCode_id の値を検索し、テストデータが現在どのように学年度を表しているかを確認します。変更の前後で関連するテストスイートを実行します。完了の条件は、テストが年に依存しない、または自動的に現在の term code を使用し、毎年の編集を必要としないことです。

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

説明

draft on hold

Issue Description

Currently, many lsf tests use the term code of the "current" academic year (termCode_id="20XX00") for the test data. However, whenever a new academic year comes, that requires manually updating termCode_id to the actual current academic year.

Example of where this can be problematic

For example, when academic year 2027-2028 hits, each occurrence of termCode_id="202600" will have to be manually changed to termCode_id="202700" everywhere in the test code. Forgetting to do this step will cause most of the tests to fail.

What needs to be changed?

The current implementation is inconvenient. What should be instead is a different set of term codes that would work for any academic year OR a specific variable that would automatically detect the current academic year.

主要言語
Python
スター
1
フォーク
1
PR マージ指標
30日以内にマージされた PR はありません

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

このリポジトリのコントリビューションガイドは索引されていません

はじめの一歩

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

BCStudentSoftwareDevTeam/lsf のほかの issue

BCStudentSoftwareDevTeam/lsf の issue をすべて見る

似ている issue

Python の issue をもっと見る

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

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