An Xtend generator is available as an executable JAR which compiles DSL documents into JSON. That JSON is then intended for processing by test runners.
- Java 8
npm i -g @hydrofoil/hypertest
Node.js is used to distribute the CLI. Java doesn't have to be installed beforehand, the node runner should install it if necessary
The compiler takes a single parameter which is the directory containing test scenarios:
Hydra test runner
🚧 Work in progress 🚧
Once compiled, the tests can be executed against Hydra APIs using
npm i hydra-validator hydra-validator-e2e
> hydra-validator e2e --help Usage: e2e [options] <url> Options: -d, --docs <docsPath> path to JSON containing test scenarios -h, --help output usage information
A simple web editor is running at https://hypertest.zazukoians.org/.
It can be used to play with all languages supported by Hypertest.
The UI is the simplest code generated by the Xtext Eclipse template. On the back end a Language Server is running which parses the editor contents, validates the code and provides syntax suggestions.