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

Add testing #21

Merged
merged 33 commits into from
Sep 23, 2021
Merged

Add testing #21

merged 33 commits into from
Sep 23, 2021

Conversation

arctic-hen7
Copy link
Member

This adds support for a testing harness with #[perseus::test], and uses that to test all the examples.

Closes #19.

This avoids running the server, and instead prints the executable.
…US_RUN_WASM_TESTS` is set

Avoids needing to exclude tests for larger workspaces.
We'll see if this works...
This may go on for a while.
Also made basic example's more resilient.
In some cases, not escaping could cause a runtime panic.
Otherwise `geckodriver` fails.
Also added an illegal route to `/timeisr` for testing.
Should now preserve needed folder structure for CI.
@arctic-hen7 arctic-hen7 marked this pull request as ready for review September 23, 2021 06:41
@arctic-hen7 arctic-hen7 self-assigned this Sep 23, 2021
@arctic-hen7 arctic-hen7 added A-cli Area: command line interface A-testing Area: testing C-enhancement Category: enhancement labels Sep 23, 2021
@arctic-hen7 arctic-hen7 merged commit 4cca6f7 into main Sep 23, 2021
@arctic-hen7 arctic-hen7 deleted the feat-19-testing branch September 23, 2021 07:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-cli Area: command line interface A-testing Area: testing C-enhancement Category: enhancement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add testing systems/docs
1 participant