spec/integration/runners/queue/rspec_runner.rb in knapsack_pro-7.0.0 vs spec/integration/runners/queue/rspec_runner.rb in knapsack_pro-7.0.1
- old
+ new
@@ -24,11 +24,11 @@
batches = [*SPEC_BATCHES, last_batch]
tests = batches[@batch_index]
@batch_index += 1
if SHOW_DEBUG_LOG
- IntegrationTestLogger.log("Mocked tests from the Queue API: #{tests.inspect}")
+ IntegrationTestLogger.log("Stubbed tests from the Queue API: #{tests.inspect}")
end
tests
end
end
@@ -39,16 +39,16 @@
have_execution_time = test_files.all? { _1.fetch('time_execution') > 0 }
IntegrationTestLogger.log("test_files: #{test_files.size}, test files have execution time: #{have_execution_time}")
end
return unless SHOW_DEBUG_LOG
- IntegrationTestLogger.log("Mocked the #{__method__} method")
+ IntegrationTestLogger.log("Stubbed the #{__method__} method")
end
end
module RSpecAdapter
def test_file_cases_for(slow_test_files)
- IntegrationTestLogger.log("Mocked test file cases for slow test files: #{slow_test_files}")
+ IntegrationTestLogger.log("Stubbed test file cases for slow test files: #{slow_test_files}")
test_file_paths = JSON.load(ENV.fetch('TEST__TEST_FILE_CASES_FOR_SLOW_TEST_FILES'))
test_file_paths.map do |path|
{ 'path' => path }
end