Skip to content
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

defmt-test: improve output formatting #297

Merged
merged 1 commit into from
Dec 3, 2020
Merged

Conversation

jonas-schievink
Copy link
Contributor

  • Print a progress indicator
  • Don't print an additional line after every single test, instead print "all tests passed!" at the very end

@jonas-schievink
Copy link
Contributor Author

Example output:

0.000000 INFO  (1/2) running `basic_roundtrip`...
└─ integration::tests::__defmt_test_entry @ tests/integration.rs:41
0.000000 INFO  (2/2) running `basic_filters`...
└─ integration::tests::__defmt_test_entry @ tests/integration.rs:41
0.000000 INFO  all tests passed!
└─ integration::tests::__defmt_test_entry @ tests/integration.rs:41

@jonas-schievink jonas-schievink merged commit 0428a39 into main Dec 3, 2020
@jonas-schievink jonas-schievink deleted the improve-test-output branch December 3, 2020 14:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants