Running cargo test
does now show all 4 of the tests, and it doesn't show any output of any of the tests i run.
I have 4 tests
test common::tests::test_workingdays
test documents::tests::create_docs
test emailer::tests::test_attachments
test emailer::tests::test_format_attachments
$ cargo test
Compiling te-pm-analytics v0.1.0 (/home/charlie/thoughtexpress/rust/te-pm-analytics)
Finished test [unoptimized + debuginfo] target(s) in 2.44s
Running target/debug/deps/main-253a09bf91ed177c
running 4 tests
test common::tests::test_workingdays ... ok
test emailer::tests::test_attachments ... FAILED
error: test failed, to rerun pass '--bin main'
It only runs two of them and does not even give me information on what has failed.
Aucun commentaire:
Enregistrer un commentaire