Class: TestBoosters::Boosters::ExUnit
- Defined in:
- lib/test_boosters/boosters/ex_unit.rb
Constant Summary collapse
- FILE_PATTERN =
"test/**/*_test.exs".freeze
Instance Method Summary collapse
-
#initialize ⇒ ExUnit
constructor
A new instance of ExUnit.
- #split_configuration_path ⇒ Object
Methods inherited from Base
#after_job, #before_job, #display_header, #distribution, #job_count, #job_index, #run, #show_files_for_dry_run
Constructor Details
#initialize ⇒ ExUnit
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_path ⇒ Object
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 |