diff options
| -rw-r--r-- | HACKING.md | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/HACKING.md b/HACKING.md index 2261322..29053fb 100644 --- a/HACKING.md +++ b/HACKING.md @@ -17,6 +17,13 @@ Then, build and run the tests. $(guix build -L ../.guix -f ../.guix/e2e-tests.scm) ``` +## Run specific end-to-end test + +When hacking on ravanan, you may be trying to get a specific test to pass, and may want to repeatedly run that specific test alone. You can do this by passing additional cwltest arguments. For example, to only run the `hello-world` test: +``` +$(guix build -L ../.guix -f ../.guix/e2e-tests.scm) -s hello-world +``` + # Run the CWL v1.2 conformance test suite The CWL v1.2 conformance test suite is run similar to the end-to-end tests. Create and change into a new empty directory. @@ -28,3 +35,7 @@ Then, build and run the tests. ``` $(guix build -L ../.guix -f ../.guix/cwl-conformance.scm) ``` +To run a specific test alone (say, the `wf_simple` test): +``` +$(guix build -L ../.guix -f ../.guix/cwl-conformance.scm) -s wf_simple +``` |
