This is a bank kata implemented in Rust.
# build library and executable
cargo build
# build + run
cargo run
# compile but don't build
cargo check
# run all tests: unit, integration, doc
cargo test
# run specific integration test file
# (assume `tests/specific_test.rs` is the test file)
cargo test --test specific_test
If you like to run test continuously, consider installing cargo watch
cargo watch -x test
# with print out
cargo watch -x "test -- --nocapture"
We will primarily be using VS Code.
Here are some recommended extensions in VSCode used when working on this project:
- Rust Extension Pack
- vscode-rust-syntax
- EditorConfig for VS Code
- markdownlint