-
Notifications
You must be signed in to change notification settings - Fork 335
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
Automate the test specs generation #113
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this is a step better, but I think a much bigger step would be to stop generating a json test spec entirely. That json file is just one more thing to get accidentally out of sync as we have seen. Why not use the spec that is stored in the chain_spec.rs
file?
@JoshOrndorff |
* Drafting parachain tests * Improvements, needs polkadot-launch pr #113 * Adds parachain tests to the CI * Type in CI build * Fix missing requirement in para test CI * Removes extra useless build
Remove the specs for the test in profit of the template.
The
npm run test
command is now generating the specs from the template and running the tests after.2 new commands have been added:
npm run generate-specs
which generates the specsnpm run test-only
which runs the test without generating the specs.In addition, the test are now by default using the Release Binary. To use the debug binary:
BINARY_PATH=../node/standalone/target/debug/moonbase-standalone npm run test