Investigate possible test bug occurring around midnight
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 35/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- ruby
- 領域
- testing-qa
調査の方向性
Start with spec/models/exercise_spec.rb:182 and run the failing exercise submittability example, paying attention to its behavior around midnight. Trace Exercise#submittable_by? and the deadline-related setup to determine whether the test timing or the implementation is responsible; done means the source of the failure is identified and the behavior is covered reliably.
索引モデルが issue の本文から書いたものです。
説明
Investigate possible test bug occurring around midnight
- Exercise should be submittable by non-administrators only if the deadline has not passed and the exercise is not hidden and is published
Failure/Error: Unable to find matching line from backtrace
expected#<Exercise id: 184, name: "exercise127", created_at: "2015-06-01 21:45:30", updated_at: "2015-06-01 21:45:30", course_id: 202, publish_time: "2015-06-01 21:00:00", gdocs_sheet: "exercise155", hidden: false, returnable_forced: true, checksum: "", solution_visible_after: nil, has_tests: false, deadline_spec: nil, unlock_spec: nil, runtime_params: "[]", valgrind_strategy: nil, code_review_requests_enabled: false, run_tests_locally_action_enabled: true>.submittable_by?(#<User id: 156, login: "user287", password_hash: "bd135f372a1a9fafc1c4d17176f6a3c6920c2172c68dbbfa45...", created_at: "2015-06-01 21:45:30", updated_at: "2015-06-01 21:45:30", salt: "3ba9963223ffd2bce9166570377c40e41e1520b7f7f57f389d...", administrator: false, email: "user344@example.com", legitimate_student: true>)to return false, got true
# /home/tmc/tmc-server/spec/models/exercise_spec.rb:182:in `block (2 levels) in <top (required)>'
- 主要言語
- Ruby
- スター
- 51
- フォーク
- 42
- 平均マージ
- 1時間 27分
- マージ済み PR(30日)
- 1
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
testmycode/tmc-server のほかの issue
-
難易度 4/5 3〜5日 初心者へのやさしさ 25/100
testmycode/tmc-server#590 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 20/100
testmycode/tmc-server#576 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 35/100
testmycode/tmc-server#488 · コメント 1 件 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 25/100
testmycode/tmc-server#487 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 35/100
testmycode/tmc-server#477 · コメント 2 件 ·
testmycode/tmc-server の issue をすべて見る
似ている issue
-
user-reported
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
Kong/developer.konghq.com#7316 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
TheOdinProject/curriculum#31408 ·
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
notch8/utk_knapsack#148 ·
-
難易度 1/5 1時間未満 初心者へのやさしさ 78/100
Homebrew/homebrew-cask#288729 · コメント 1 件 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100