diff options
| author | Arun Isaac | 2025-11-15 21:04:57 +0000 |
|---|---|---|
| committer | Arun Isaac | 2025-11-16 22:43:00 +0000 |
| commit | 55b24bb32fb6eb85ac72c31d2a00a9838b0dda39 (patch) | |
| tree | b864758d728edbd2cb578d9c690260c233e5b570 | |
| parent | c41a2d37f09c7e479640521baf2a612f6a77669f (diff) | |
| download | ravanan-55b24bb32fb6eb85ac72c31d2a00a9838b0dda39.tar.gz ravanan-55b24bb32fb6eb85ac72c31d2a00a9838b0dda39.tar.lz ravanan-55b24bb32fb6eb85ac72c31d2a00a9838b0dda39.zip | |
HACKING: Document running specific tests.
| -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 +``` |
