Class: TestBoosters::Boosters::ExUnit

Inherits:
Base
  • Object
show all
Defined in:
lib/test_boosters/boosters/ex_unit.rb

Constant Summary collapse

FILE_PATTERN =
"test/**/*_test.exs".freeze

Instance Method Summary collapse

Methods inherited from Base

#after_job, #before_job, #display_header, #distribution, #job_count, #job_index, #run, #show_files_for_dry_run

Constructor Details

#initializeExUnit

Returns a new instance of ExUnit.



7
8
9
# File 'lib/test_boosters/boosters/ex_unit.rb', line 7

def initialize
  super(FILE_PATTERN, nil, split_configuration_path, "mix test")
end

Instance Method Details

#split_configuration_pathObject



11
12
13
# File 'lib/test_boosters/boosters/ex_unit.rb', line 11

def split_configuration_path
  ENV["EX_UNIT_SPLIT_CONFIGURATION_PATH"] || "#{ENV["HOME"]}/ex_unit_split_configuration.json"
end