diff options
| author | Owen Jacobson <owen@grimoire.ca> | 2024-11-25 23:02:35 -0500 |
|---|---|---|
| committer | Owen Jacobson <owen@grimoire.ca> | 2024-11-25 23:03:35 -0500 |
| commit | 2a9931dc134de69f48eed6acd8c5bf6d4221b936 (patch) | |
| tree | 1dac9d9159b0db19fe968e5cdcdda24f4b9abd8e | |
| parent | e8d672a3f5a1fff1b5fb51857f42ced7cc8aa3a7 (diff) | |
Tool scripts for running tests.
`test-all` instead of `test` to avoid colliding with a shell builtin.
| -rwxr-xr-x | tools/test-all | 10 | ||||
| -rwxr-xr-x | tools/test-server | 9 | ||||
| -rwxr-xr-x | tools/test-ui | 9 |
3 files changed, 28 insertions, 0 deletions
diff --git a/tools/test-all b/tools/test-all new file mode 100755 index 0000000..0ad3ca3 --- /dev/null +++ b/tools/test-all @@ -0,0 +1,10 @@ +#!/bin/bash -e + +## tools/test-all +## +## Run the full test suite. + +cd "$(dirname "$0")/.." + +tools/test-ui +tools/test-server diff --git a/tools/test-server b/tools/test-server new file mode 100755 index 0000000..44bdf76 --- /dev/null +++ b/tools/test-server @@ -0,0 +1,9 @@ +#!/bin/bash -e + +## tools/test-server +## +## Run the server test suite. + +cd "$(dirname "$0")/.." + +cargo test diff --git a/tools/test-ui b/tools/test-ui new file mode 100755 index 0000000..eff5a07 --- /dev/null +++ b/tools/test-ui @@ -0,0 +1,9 @@ +#!/bin/bash -e + +## tools/test-ui +## +## Run the UI test suite. + +cd "$(dirname "$0")/.." + +npm run test -- --run |
