lib/knapsack_pro/tracker.rb in knapsack_pro-5.3.4 vs lib/knapsack_pro/tracker.rb in knapsack_pro-5.3.5

- old
+ new

@@ -66,9 +66,15 @@ save_prerun_tests_report(@test_files_with_time) @prerun_tests_loaded = true end + def unexecuted_test_files + @test_files_with_time.map do |path, hash| + path unless hash[:measured_time] + end.compact + end + def to_a # When the test files are not loaded in the memory then load them from the disk. # Useful for the Regular Mode when the memory is not shared between tracker instances. # Tracker instance can be created by knapsack_pro process and a separate tracker is created by rake task (e.g., RSpec) load_prerun_tests unless prerun_tests_loaded