lib/mutant/env.rb in mutant-0.11.28 vs lib/mutant/env.rb in mutant-0.11.29

- old
+ new

@@ -64,14 +64,22 @@ mutation_index: mutation_index, runtime: timer.now - start ) end + def run_test_index(test_index) + integration.call([integration.all_tests.fetch(test_index)]) + end + def emit_mutation_worker_process_start(index:) hooks.run(:mutation_worker_process_start, index: index) end + def emit_test_worker_process_start(index:) + hooks.run(:test_worker_process_start, index: index) + end + # The test selections # # @return Hash{Mutation => Enumerable<Test>} def selections subjects.to_h do |subject| @@ -173,9 +181,8 @@ end def timer world.timer end - end # Env # rubocop:enable Metrics/ClassLength end # Mutant