Answer stability round 1: 0 🔴, 5 🟡 (0 misread); lock an epic's decisions while one is appended, and test the epic's key, the approval and the quote sources
This commit is contained in:
@@ -158,7 +158,11 @@ class ACycleOfAChunkWithoutARepo(DoEpicTest):
|
||||
self.assertEqual(self.cycle().premises, "the epic ABC-12's description:\n## Goals\nShip the import.\n\n## Audience\nThe client's team.")
|
||||
|
||||
def test_the_task_is_the_issue(self) -> None:
|
||||
self.assertEqual(self.cycle().task, "Work the Jira issue ABC-21 of the epic ABC-12 as one chunk, which changes no repo: work in the folder you start in. File a finding about one of the epic's goals in the epic, with `do-epic ABC-12 --file \"<summary>\" [--label <label>]` and its detail on stdin. File one about a repo's goals by that repo's rules. Where unsure which, ask the human. Record a decision that governs the epic, such as an answer the human typed, with `do-epic ABC-12 --record-decision \"<title>\"` and its text on stdin. Its summary: Do ABC-21\n\nIts description:\n\nTidy the docs.")
|
||||
task = self.cycle().task
|
||||
self.assertTrue(task.startswith("Work the Jira issue ABC-21 of the epic ABC-12 as one chunk, which changes no repo: work in the folder you start in. File a finding"), task)
|
||||
self.assertIn('with `/b/do-epic ABC-12 --file "<summary>" --label <label>` and its detail on stdin', task)
|
||||
self.assertIn("Write the issue and the decision in English, the epic's language.", task)
|
||||
self.assertTrue(task.endswith(" Its summary: Do ABC-21\n\nIts description:\n\nTidy the docs."), task)
|
||||
|
||||
def test_an_issue_without_scores_runs_on_the_projects_rung(self) -> None:
|
||||
self.issues[1] = dataclasses.replace(self.issues[1], scores={})
|
||||
|
||||
Reference in New Issue
Block a user