Answer stability round 1: 0 🔴, 14 🟡 (0 misread); tests that kill the surviving mutants, with a versioned MemoryStore and appended_to, plan/named_paths.py, TakenIn's docstring and the run-heavy rule naming LAUNCHERS; three places left to item 300
CI / tests (pull_request) Successful in 3m10s
CI / tests (pull_request) Successful in 3m10s
This commit is contained in:
@@ -14,8 +14,9 @@ from plan_store.todo_md import FilePlan, plan_of
|
||||
from record_store.stores import FileStore
|
||||
from test_env import isolated_env
|
||||
from record_store.fakes import MemoryStore
|
||||
from release_plan import next_chunk, release_standing
|
||||
from plan.todo_table import NoItemsTable
|
||||
from release_plan import release_standing
|
||||
from plan_store.plans import Plan
|
||||
from plan import todo_table
|
||||
from plan.release import version
|
||||
|
||||
@@ -380,3 +381,11 @@ class ChunkItem(unittest.TestCase):
|
||||
def test_fails_to_name_releases_when_the_newest_plan_marks_one_in_a_form_it_cannot_read(self):
|
||||
plan = "## Items\n\n| ID | Release | Blocked by | Exempt | Item | L | E | I | R | S | Moves | Score |\n|---|---|---|---|---|---|---|---|---|---|---|---|\n| 1 | 0.3.0 | | | **Do 1.** | 1 | 1 | 1 | 1 | 1 | 1 by 1 | 10.0 |\n"
|
||||
self.assertIsInstance(release_standing.named_releases([plan, plan + "\n## Renamed\n\nsoon\n"]), Failure)
|
||||
|
||||
|
||||
class NextChunk(unittest.TestCase):
|
||||
def test_names_the_release_a_carried_item_moved_to_not_another_items(self):
|
||||
later, carried, next_one = (dataclasses.replace(one(release), id=id_) for id_, release in ((9, (0, 4, 0)), (5, (0, 2, 0)), (3, (0, 3, 0))))
|
||||
planned = next_chunk.planned(Plan([later, carried, next_one]), release_standing.LastCut("v0.2.0", "", 4, []), "origin/main", "item-{id}")
|
||||
assert isinstance(planned, next_chunk.NextChunk), planned
|
||||
self.assertEqual(planned.carried, next_chunk.CarriedOver((0, 3, 0), (5,)))
|
||||
|
||||
Reference in New Issue
Block a user