Skip to content

Commit f4f3110

Browse files
committed
test: update file inventory tests to include setup-tasks scripts
1 parent 8dbe61e commit f4f3110

6 files changed

Lines changed: 12 additions & 2 deletions

tests/integrations/test_integration_base_markdown.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -273,11 +273,11 @@ def _expected_files(self, script_variant: str) -> list[str]:
273273

274274
if script_variant == "sh":
275275
for name in ["check-prerequisites.sh", "common.sh", "create-new-feature.sh",
276-
"setup-plan.sh"]:
276+
"setup-plan.sh", "setup-tasks.sh"]:
277277
files.append(f".specify/scripts/bash/{name}")
278278
else:
279279
for name in ["check-prerequisites.ps1", "common.ps1", "create-new-feature.ps1",
280-
"setup-plan.ps1"]:
280+
"setup-plan.ps1", "setup-tasks.ps1"]:
281281
files.append(f".specify/scripts/powershell/{name}")
282282

283283
for name in ["checklist-template.md",

tests/integrations/test_integration_base_skills.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -371,13 +371,15 @@ def _expected_files(self, script_variant: str) -> list[str]:
371371
".specify/scripts/bash/common.sh",
372372
".specify/scripts/bash/create-new-feature.sh",
373373
".specify/scripts/bash/setup-plan.sh",
374+
".specify/scripts/bash/setup-tasks.sh",
374375
]
375376
else:
376377
files += [
377378
".specify/scripts/powershell/check-prerequisites.ps1",
378379
".specify/scripts/powershell/common.ps1",
379380
".specify/scripts/powershell/create-new-feature.ps1",
380381
".specify/scripts/powershell/setup-plan.ps1",
382+
".specify/scripts/powershell/setup-tasks.ps1",
381383
]
382384
# Templates
383385
files += [

tests/integrations/test_integration_base_toml.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -515,6 +515,7 @@ def _expected_files(self, script_variant: str) -> list[str]:
515515
"common.sh",
516516
"create-new-feature.sh",
517517
"setup-plan.sh",
518+
"setup-tasks.sh",
518519
]:
519520
files.append(f".specify/scripts/bash/{name}")
520521
else:
@@ -523,6 +524,7 @@ def _expected_files(self, script_variant: str) -> list[str]:
523524
"common.ps1",
524525
"create-new-feature.ps1",
525526
"setup-plan.ps1",
527+
"setup-tasks.ps1",
526528
]:
527529
files.append(f".specify/scripts/powershell/{name}")
528530

tests/integrations/test_integration_base_yaml.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -394,6 +394,7 @@ def _expected_files(self, script_variant: str) -> list[str]:
394394
"common.sh",
395395
"create-new-feature.sh",
396396
"setup-plan.sh",
397+
"setup-tasks.sh",
397398
]:
398399
files.append(f".specify/scripts/bash/{name}")
399400
else:
@@ -402,6 +403,7 @@ def _expected_files(self, script_variant: str) -> list[str]:
402403
"common.ps1",
403404
"create-new-feature.ps1",
404405
"setup-plan.ps1",
406+
"setup-tasks.ps1",
405407
]:
406408
files.append(f".specify/scripts/powershell/{name}")
407409

tests/integrations/test_integration_copilot.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -203,6 +203,7 @@ def test_complete_file_inventory_sh(self, tmp_path):
203203
".specify/scripts/bash/common.sh",
204204
".specify/scripts/bash/create-new-feature.sh",
205205
".specify/scripts/bash/setup-plan.sh",
206+
".specify/scripts/bash/setup-tasks.sh",
206207
".specify/templates/checklist-template.md",
207208
".specify/templates/constitution-template.md",
208209
".specify/templates/plan-template.md",
@@ -262,6 +263,7 @@ def test_complete_file_inventory_ps(self, tmp_path):
262263
".specify/scripts/powershell/common.ps1",
263264
".specify/scripts/powershell/create-new-feature.ps1",
264265
".specify/scripts/powershell/setup-plan.ps1",
266+
".specify/scripts/powershell/setup-tasks.ps1",
265267
".specify/templates/checklist-template.md",
266268
".specify/templates/constitution-template.md",
267269
".specify/templates/plan-template.md",

tests/integrations/test_integration_generic.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -263,6 +263,7 @@ def test_complete_file_inventory_sh(self, tmp_path):
263263
".specify/scripts/bash/common.sh",
264264
".specify/scripts/bash/create-new-feature.sh",
265265
".specify/scripts/bash/setup-plan.sh",
266+
".specify/scripts/bash/setup-tasks.sh",
266267
".specify/templates/checklist-template.md",
267268
".specify/templates/constitution-template.md",
268269
".specify/templates/plan-template.md",
@@ -318,6 +319,7 @@ def test_complete_file_inventory_ps(self, tmp_path):
318319
".specify/scripts/powershell/common.ps1",
319320
".specify/scripts/powershell/create-new-feature.ps1",
320321
".specify/scripts/powershell/setup-plan.ps1",
322+
".specify/scripts/powershell/setup-tasks.ps1",
321323
".specify/templates/checklist-template.md",
322324
".specify/templates/constitution-template.md",
323325
".specify/templates/plan-template.md",

0 commit comments

Comments
 (0)