class ParallelTests::Test::RuntimeLogger
def self.class_directory(suspect)
Note: this is a best guess at conventional test directory structure, and may need
def self.class_directory(suspect) result = "test/" if defined?(Rails) result += case suspect.superclass.name when "ActionDispatch::IntegrationTest" "integration/" when "ActionDispatch::PerformanceTest" "performance/" when "ActionController::TestCase" "functional/" when "ActionView::TestCase" "unit/helpers/" else "unit/" end end result end