Skip to content

Commit 10478d7

Browse files
authored
Test harness improvements and refactorings (#147)
- feature: the 0.2.0 implementation has a new test mode, accessible on `-T` which runs test eu scripts or test targets within scripts. It is currently an undocumented draft implementation which is not yet documented but it is used to run the eucalypt test harness. - feature: The tester can run all tests in a directory, using `eu -T <dir>` in which case the directory is also now added to the library path so tests can easily import relative paths. - break: The initial YAML implementation does not support outputting tags, because the underlying Rust library used does not. This is a temporary regression pending a switch of library to restore tag output. The current test does not detect the issue.
1 parent a0a286b commit 10478d7

36 files changed

+808
-1366
lines changed

.github/workflows/build-rust.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ jobs:
133133
- name: run final test with release binary
134134
run: |
135135
target/release/eu_amd64 -v
136-
target/release/eu_amd64 harness/test -T -L harness
136+
target/release/eu_amd64 harness/test -T
137137
- name: Generate changelog
138138
run: |
139139
echo "$(git-changelog latest...)" > CHANGELOG.md
@@ -196,7 +196,7 @@ jobs:
196196
- name: Run final test with release binary
197197
run: |
198198
target/release/eu_darwin -v
199-
target/release/eu_darwin harness/test -T -L harness
199+
target/release/eu_darwin harness/test -T
200200
- name: Upload binary
201201
uses: actions/upload-artifact@v1
202202
with:

harness/Dockerfile

Lines changed: 0 additions & 21 deletions
This file was deleted.

harness/Pipfile

Lines changed: 0 additions & 8 deletions
This file was deleted.

harness/Pipfile.lock

Lines changed: 0 additions & 54 deletions
This file was deleted.

harness/entrypoint.sh

Lines changed: 0 additions & 23 deletions
This file was deleted.

0 commit comments

Comments
 (0)