class DeltaTest::CLI::SpecsCommand

Public Instance Methods

invoke!() click to toggle source
# File lib/delta_test/cli/specs_command.rb, line 9
def invoke!
  if stats.base_commit
    puts 'Base commit: %s' % [stats.base_commit]
    puts
  else
    raise StatsNotFoundError
  end

  list.load_table!(stats.table_file_path)
  list.retrive_changed_files!(stats.base_commit)

  print_specs
end
list() click to toggle source
# File lib/delta_test/cli/specs_command.rb, line 27
def list
  @list ||= RelatedSpecList.new
end
print_specs() click to toggle source
stats() click to toggle source
# File lib/delta_test/cli/specs_command.rb, line 23
def stats
  @stats ||= Stats.new
end