-
Notifications
You must be signed in to change notification settings - Fork 30
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
Various improvements and features for future development #13
Comments
Thanks for making this crate, I like it a lot. Since you are making a list of future improvements, I have a suggestion. For situations with a lot of tests, it would be nice to display a progress bar. This can be achieved using the indicatif crate example. |
I surprisingly found some time and motivation to work on this again, so some of these boxes are now ticked. I have currently no plans to implement any of the other mentioned things. (PRs regarding those are still welcome) |
@jbabyhacker Thanks for the suggestion, but |
Hi, thanks for creating this. "Run tests in new process" sounds like what I'm looking for to unit test rsmpi, but instead of directly calling the test executable ( $ mpiexec -n 4 target/debug/foo_test-83955d27b7ee0d5b parallel_test --nocapture --exact --noharness where This actually runs four processes that will communicate amongst themselves using MPI. The test passes if that parallel job produces stdout/stderr and exit code as specified in the test logic (the function I'll provide to Does this seem like a reasonable way to proceed? Do you have implementation tips for adding this feature? |
I suggest to provide an option to print panic stacktraces. Right now it seems that |
I think this library could use some improvements in various areas. Unfortunately, I don't actively use it currently. And since my time is short and I have other projects that I'm more interested in, I will not implement all those things now, but just post this issue with a random list of improvements. Note that the library is still totally usable, it just doesn't have the perfect API (IMO) and does not support all of the newest libtest CLI flags/features.
Get good integration tests first!
--include-ignored
--logfile PATH
Write logs to the specified file--shuffle
ordering rust-lang/rust@fa23d4fRUST_TEST_SHUFFLE
RUST_TEST_THREADS
Unstable
--format json/junit
--ensure-time
--exclude-should-panic
Excludes tests marked as should_panic (UNSTABLE)--report-time
--force-run-in-process
Forces tests to run in-process when panic=abortThe text was updated successfully, but these errors were encountered: