Class: Minitest::RakeCIReporter
Overview
Instance Attribute Summary
#flakey_results
Class Method Summary
collapse
Instance Method Summary
collapse
#flakes, #initialize, #record
Class Method Details
.enable! ⇒ Object
37
38
39
|
# File 'lib/minitest/rake_ci_plugin.rb', line 37
def self.enable!
@enabled = true
end
|
.enabled? ⇒ Boolean
41
42
43
|
# File 'lib/minitest/rake_ci_plugin.rb', line 41
def self.enabled?
@enabled ||= !!ENV['MINITEST_RAKE_CI']
end
|
Instance Method Details
#load_current_commit_hash ⇒ Object
67
68
69
|
# File 'lib/minitest/rake_ci_plugin.rb', line 67
def load_current_commit_hash
load_current_commit_data
end
|
#report ⇒ Object
47
48
49
50
51
52
53
54
55
56
57
58
|
# File 'lib/minitest/rake_ci_plugin.rb', line 47
def report
super
hash = {
statistics: current_statistics,
metrics: current_metrics,
attachments: current_attachments
}
save_current_commit_data(hash)
end
|