Why all test files have 0.1s time execution for my CI build in user dashboard?
If you go to user dashboard and open
Build metrics for your API token and you open CI build for your last git commit you should see there info about collected time execution data from all CI nodes. If you see all test files have 0.1s time execution then please ensure:
- you should not clean up
tmpdirectory in your tests (for instance in RSpec hooks like
knapsack_procan publish measured time execution data to Knapsack Pro API server.
knapsack_proQueue Mode saves temporary files with collected time execution data in
- please ensure you have in your
spec_helper.rbline that allows to measure tests:
require 'knapsack_pro' # CUSTOM_CONFIG_GOES_HERE KnapsackPro::Adapters::RSpecAdapter.bind
The 0.1s is a default time execution used when test file is an empty file or its content are all pending tests.