yew/website/docs/more/testing.mdx
Matt 90b4e55ebc
Docusaurus Overhaul (#2275)
* change suffixes from md to mdx
fix broken links for English locale
tree shake and update docusaurus
add docusaurus ideal image plugin
use svg and themed image
delete unused static asset

* move localized landing page

* change GitLocalize project page

* nit pick

* remove ignore to have the block checked
2021-12-20 12:10:45 +02:00

20 lines
882 B
Plaintext

---
title: "Testing apps"
description: "Testing your app"
---
<TODO>
:::info
We're working on making it easy to test components, but this is currently a work in progress.
Support for [shallow rendering](https://github.com/yewstack/yew/issues/1413) and a proposal to
[expose the code Yew uses internally for testing components](https://github.com/yewstack/yew/issues/1413)
can be found in the GitHub repository.
:::
## wasm\_bindgen\_test
The Rust Wasm working group maintains a crate called [`wasm_bindgen_test`](https://rustwasm.github.io/docs/wasm-bindgen/wasm-bindgen-test/index.html) which allows you to run tests in a browser in similar fashion to how
the built-in `#[test]` procedural macro works. More information is given in the [Rust Wasm working group's documentation](https://rustwasm.github.io/docs/wasm-bindgen/wasm-bindgen-test/index.html)
for this module.