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

An XSLT transform to make a Bash script out of a test catalog #215

Merged
merged 2 commits into from
Nov 28, 2023

Conversation

cmsmcq
Copy link
Contributor

@cmsmcq cmsmcq commented Nov 21, 2023

This XSLT stylesheet reads a test catalog and writes a bash script which runs the tests and writes a test report to a file to a specified output directory.

After running the bash script, the output directory also contains:

  • a test report in the form described by our test-catalog schema,
  • the XML documents produced by running the tests, and
  • copies of any grammars and test strings given inline in the test catalog.

In the current version of the stylesheet, the bash script produced has several shortcomings:

  • Because its initial use is in performance testing, it doesn't actually check whether the results are correct or not.
  • It does not handle references to external test sets.
  • It has no sanity checking: if something goes wrong, it will not recover gracefully.

Several parameters are needed; see the stylesheet source code for details.

@cmsmcq cmsmcq merged commit 431958b into invisibleXML:master Nov 28, 2023
2 checks passed
@cmsmcq cmsmcq deleted the make-bash-test-harness branch November 28, 2023 18:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant