mirror of
https://github.com/go-task/task.git
synced 2025-08-10 22:42:19 +02:00
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:
@@ -0,0 +1 @@
|
||||
/testdata/special_vars
|
@@ -0,0 +1 @@
|
||||
unknown
|
@@ -0,0 +1 @@
|
||||
included:print-task
|
@@ -0,0 +1 @@
|
||||
/testdata/special_vars/included
|
@@ -0,0 +1 @@
|
||||
/testdata/special_vars/included/Taskfile.yml
|
@@ -0,0 +1 @@
|
||||
/testdata/special_vars
|
@@ -0,0 +1 @@
|
||||
/testdata/special_vars/foo
|
@@ -0,0 +1 @@
|
||||
unknown
|
@@ -0,0 +1 @@
|
||||
print-task
|
@@ -0,0 +1 @@
|
||||
/testdata/special_vars
|
@@ -0,0 +1 @@
|
||||
/testdata/special_vars/Taskfile.yml
|
@@ -0,0 +1 @@
|
||||
/testdata/special_vars
|
@@ -0,0 +1 @@
|
||||
unknown
|
@@ -0,0 +1 @@
|
||||
included:print-task
|
@@ -0,0 +1 @@
|
||||
/testdata/special_vars/included
|
@@ -0,0 +1 @@
|
||||
/testdata/special_vars/included/Taskfile.yml
|
1
testdata/special_vars/testdata/TestSpecialVars-testdata-special_vars-print-root-dir.golden
vendored
Normal file
1
testdata/special_vars/testdata/TestSpecialVars-testdata-special_vars-print-root-dir.golden
vendored
Normal file
@@ -0,0 +1 @@
|
||||
/testdata/special_vars
|
1
testdata/special_vars/testdata/TestSpecialVars-testdata-special_vars-print-task-dir.golden
vendored
Normal file
1
testdata/special_vars/testdata/TestSpecialVars-testdata-special_vars-print-task-dir.golden
vendored
Normal file
@@ -0,0 +1 @@
|
||||
/testdata/special_vars/foo
|
@@ -0,0 +1 @@
|
||||
unknown
|
1
testdata/special_vars/testdata/TestSpecialVars-testdata-special_vars-print-task.golden
vendored
Normal file
1
testdata/special_vars/testdata/TestSpecialVars-testdata-special_vars-print-task.golden
vendored
Normal file
@@ -0,0 +1 @@
|
||||
print-task
|
@@ -0,0 +1 @@
|
||||
/testdata/special_vars
|
1
testdata/special_vars/testdata/TestSpecialVars-testdata-special_vars-print-taskfile.golden
vendored
Normal file
1
testdata/special_vars/testdata/TestSpecialVars-testdata-special_vars-print-taskfile.golden
vendored
Normal file
@@ -0,0 +1 @@
|
||||
/testdata/special_vars/Taskfile.yml
|
Reference in New Issue
Block a user