mirror of
https://git.meli.delivery/meli/meli
synced 2024-11-09 01:10:33 +00:00
25 lines
421 B
Markdown
25 lines
421 B
Markdown
# Development
|
|
|
|
## Testing
|
|
|
|
How to run specific tests:
|
|
|
|
```sh
|
|
cargo test -p {melib, meli} (-- --nocapture) (--test test_name)
|
|
```
|
|
|
|
## Profiling
|
|
|
|
```sh
|
|
perf record -g target/debug/bin
|
|
perf script | stackcollapse-perf | rust-unmangle | flamegraph > perf.svg
|
|
```
|
|
|
|
## Running fuzz targets
|
|
|
|
Note: `cargo-fuzz` requires the nightly toolchain.
|
|
|
|
```sh
|
|
cargo +nightly fuzz run envelope_parse -- -dict=fuzz/envelope_tokens.dict
|
|
```
|