Class: TestBoosters::Boosters::GoTest

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

Constant Summary collapse

FILE_PATTERN =
"**/*/*_test.go".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

#initializeGoTest

Returns a new instance of GoTest.



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

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

Instance Method Details

#split_configuration_pathObject



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

def split_configuration_path
  ENV["GO_TEST_SPLIT_CONFIGURATION_PATH"] || "#{ENV["HOME"]}/go_test_split_configuration.json"
end