diff options
author | Bryan Newbold <bnewbold@archive.org> | 2017-12-10 19:55:27 -0800 |
---|---|---|
committer | Bryan Newbold <bnewbold@archive.org> | 2018-08-10 16:06:46 -0700 |
commit | eda999189592954dbb6ef6103a52e390cc3c727a (patch) | |
tree | 7a1a28c24c1d6e0093c5b275805fe45ac2bf1740 /software | |
parent | f8c6b5b660ca2d098b1fb0ceb7ccad798dec92db (diff) | |
download | knowledge-eda999189592954dbb6ef6103a52e390cc3c727a.tar.gz knowledge-eda999189592954dbb6ef6103a52e390cc3c727a.zip |
rust: tests with logging
Diffstat (limited to 'software')
-rw-r--r-- | software/rust.page | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/software/rust.page b/software/rust.page index 404f8b9..af5ea3a 100644 --- a/software/rust.page +++ b/software/rust.page @@ -18,3 +18,6 @@ For local rust/std documentation, do `rustup doc`. Run tests with stdout output: cargo test -- --nocapture + +To run tests with logging enabled (eg, with `env_logger`), make sure you add +`env_logger::init()` to the test function itself. |