class KnapsackPro::Formatters::TimeTrackerFetcher

Public Class Methods

call() click to toggle source
# File lib/knapsack_pro/formatters/time_tracker_fetcher.rb, line 6
def self.call
  ::RSpec
    .configuration
    .formatters
    .find { |f| f.class.to_s == "KnapsackPro::Formatters::TimeTracker" }
end
unexecuted_test_files(scheduled_paths) click to toggle source
# File lib/knapsack_pro/formatters/time_tracker_fetcher.rb, line 13
def self.unexecuted_test_files(scheduled_paths)
  time_tracker = call
  return [] unless time_tracker
  time_tracker.unexecuted_test_files(scheduled_paths)
end