for one of our projects we use
minitest on CircleCI, and I was wondering how to get the tests ordered by their timing instead of naming?
I’m executing the following command :
cc-test-reporter before-build TEST_FILES=$(circleci tests glob "test/**/*_test.rb" | circleci tests split --split-by=timings) bundle exec rake cc-test-reporter format-coverage -t simplecov -o "coverage/codeclimate.$CIRCLE_NODE_INDEX.json"
And the environment prints out the following message before starting the tests:
Requested historical based timing, but they are not present. Falling back to name based sorting
Is there a special command needed or gem to get timing based results working with
minitest for Ruby projects?