Merge pull request #1077 from Demonthos/end-to-end-testing

create end to end tests using playwright
This commit is contained in:
Jon Kelley authored and GitHub committed 2023-06-30 12:23:31 -07:00
commit 86402d3e23
18 files changed
+736 -2

No files matched your search

+6
View File
@@ -41,6 +41,12 @@ cargo check --workspace --examples --tests
cargo clippy --workspace --examples --tests -- -D warnings
```
- Browser tests are automated with [Playwright](https://playwright.dev/docs/intro#installing-playwright)
```sh
npx playwright test
```
- Crates that use unsafe are checked for undefined behavior with [MIRI](https://github.com/rust-lang/miri). MIRI can be helpful to debug what unsafe code is causing issues. Only code that does not interact with system calls can be checked with MIRI. Currently, this is used for the two MIRI tests in `dioxus-core` and `dioxus-native-core`.
```sh