Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

doc: document how a test executor works #74

Merged
merged 8 commits into from
May 12, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
review: add line about *.cleanup files
abrown committed May 9, 2023
commit ea55a43a1e0e307f69205a86b011a30612f255d0
2 changes: 2 additions & 0 deletions doc/specification.md
Original file line number Diff line number Diff line change
@@ -10,6 +10,8 @@ way to verify that the tests indeed passed.

Before executing anything, a test executor is expected to:
- find all `*.wasm` files in a given subdirectory — these are the _test cases_
- find all `*.cleanup` files in a given subdirectory and remove them — these are test
artifacts that can be generated during testing
- for each test case, look for a `.json` file in the same directory matching the base name (e.g.,
`foo.json` for `foo.wasm`) — parse this _specification_
- if no `.json` file is present, use a default specification; a (conceptual) default specification