Skip to content

Refactor tests #97

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

Merged
merged 2 commits into from
Feb 27, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion README-rust.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,11 @@ tested with.

To run them, use:

cargo test --features=simulator,tokio
cargo test --features=simulator,tokio -- --test-threads 1

Use `--nocapture` to also see some useful simulator output.

cargo test --features=simulator,tokio -- --test-threads 1 --nocapture

If you want to test against a custom simulator build (e.g. when developing new firmware features),
you can run:
Expand Down
2 changes: 1 addition & 1 deletion ci.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ cargo fmt --check

for feature_set in "${features[@]}"; do
echo $feature_set
cargo test --tests --locked --features="$feature_set" -- --nocapture
cargo test --tests --locked --features="$feature_set" -- --nocapture --test-threads 1
cargo clippy --tests --locked --features="$feature_set" -- -D warnings -A clippy::empty-docs
done

Expand Down
248 changes: 0 additions & 248 deletions tests/simulator_tests.rs

This file was deleted.

19 changes: 0 additions & 19 deletions tests/subtests/mod.rs

This file was deleted.

Loading