refactor: unify how executor tests are written (#2042)

* feat: use TaskTest for executor tests

* feat: more tests

* feat: separate tests for executing and formatting with new functional options that work for both test types

* feat: formatter tests

* refactor: more tests
This commit is contained in:
Pete Davison
2025-03-31 17:53:58 +01:00
committed by GitHub
parent 180fcef364
commit 4736bc2734
175 changed files with 1706 additions and 1111 deletions

View File

@@ -7,50 +7,50 @@ tasks:
d1:
deps: [d11, d12, d13]
cmds:
- echo 'Text' > d1.txt
- echo 'd1'
d2:
deps: [d21, d22, d23]
cmds:
- echo 'Text' > d2.txt
- echo 'd2'
d3:
deps: [d31, d32, d33]
cmds:
- echo 'Text' > d3.txt
- echo 'd3'
d11:
cmds:
- echo 'Text' > d11.txt
- echo 'd11'
d12:
cmds:
- echo 'Text' > d12.txt
- echo 'd12'
d13:
cmds:
- echo 'Text' > d13.txt
- echo 'd13'
d21:
cmds:
- echo 'Text' > d21.txt
- echo 'd21'
d22:
cmds:
- echo 'Text' > d22.txt
- echo 'd22'
d23:
cmds:
- echo 'Text' > d23.txt
- echo 'd23'
d31:
cmds:
- echo 'Text' > d31.txt
- echo 'd31'
d32:
cmds:
- echo 'Text' > d32.txt
- echo 'd32'
d33:
cmds:
- echo 'Text' > d33.txt
- echo 'd33'