mirror of
https://github.com/Llewellynvdm/starship.git
synced 2024-11-28 07:46:28 +00:00
parent
a8264cdab9
commit
875ed1ed12
@ -106,7 +106,7 @@ cargo fmt
|
|||||||
|
|
||||||
Testing is critical to making sure starship works as intended on systems big and small. Starship interfaces with many applications and system APIs when generating the prompt, so there's a lot of room for bugs to slip in.
|
Testing is critical to making sure starship works as intended on systems big and small. Starship interfaces with many applications and system APIs when generating the prompt, so there's a lot of room for bugs to slip in.
|
||||||
|
|
||||||
Unit tests are written using the built-in Rust testing library in the same file as the implementation, as is traditionally done in Rust codebases. These tests can be run with `cargo test` and are run on GitHub as part of our GitHub Actions continuous integration to ensure consistend behavior.
|
Unit tests are written using the built-in Rust testing library in the same file as the implementation, as is traditionally done in Rust codebases. These tests can be run with `cargo test` and are run on GitHub as part of our GitHub Actions continuous integration to ensure consistent behavior.
|
||||||
|
|
||||||
All tests that test the rendered output of a module should use `ModuleRenderer`. For Example:
|
All tests that test the rendered output of a module should use `ModuleRenderer`. For Example:
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user