Add rust testing
This commit is contained in:
parent
388130ca6d
commit
08f42369f1
2 changed files with 10 additions and 0 deletions
|
@ -8,6 +8,7 @@
|
||||||
- [Testing](./dev/golang/testing.md)
|
- [Testing](./dev/golang/testing.md)
|
||||||
- [Rust](./dev/rust/main.md)
|
- [Rust](./dev/rust/main.md)
|
||||||
- [serde](./dev/rust/serde.md)
|
- [serde](./dev/rust/serde.md)
|
||||||
|
- [Testing](./dev/rust/testing.md)
|
||||||
- [Web](./dev/web/main.md)
|
- [Web](./dev/web/main.md)
|
||||||
- [front](./dev/web/front/main.md)
|
- [front](./dev/web/front/main.md)
|
||||||
- [babel and babel-preset-stage-2](./dev/web/front/babel-preset-stage-2.md)
|
- [babel and babel-preset-stage-2](./dev/web/front/babel-preset-stage-2.md)
|
||||||
|
|
9
src/dev/rust/testing.md
Normal file
9
src/dev/rust/testing.md
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
# Testing
|
||||||
|
|
||||||
|
## `Cargo test` and `println!`
|
||||||
|
|
||||||
|
To see stdout when using cargo run (kudos CobaltVelvet)
|
||||||
|
|
||||||
|
```shell
|
||||||
|
cargo run -- --nocapture
|
||||||
|
```
|
Loading…
Reference in a new issue