I found a round robin solution: test_benchmarker plugin . You run your tests with an additional environment variable as follows:
rake test BENCHMARK_TESTS=true
It is best to disable the output of the file to the file, because it will be long . But he will give you a list of all test classes and tests, both functional and functional. Obviously, this also gives you benchmarking results, which is a bonus.
Is there anything better? I think itโs pretty close, and so little effort, why not get test results? RSpec has a built-in function, but it might be interesting to write a version for Test :: Unit.
source share