Support for showing the slowest N tests
I see that here https://nexte.st/book/slow-tests.html - it is possible to set a limit for what is marked as slow. I think it would also be nice to show the slowest N (10?) tests without having to know the limit up front. This would be pretty easy to implement externally after #20 (just pipe to sort), but I bet it would look a lot nicer if internal.
Hi there --
Thanks for the feature request! This is currently not supported, and the way I'd like to add support for it is by logging previous runs and letting users replay them, show statistics about them and so on. For example:
cargo nextest run
cargo nextest replay slow-tests
However, that would be a big chunk of work that I don't expect to do any time soon.
Meanwhile, you could likely use the JUnit support along with some open source tooling that consumes them to build this out for yourself! You can also set the final-status-level config option to slow to print out slow tests.