Module: Minitest::Hyper
- Defined in:
- lib/minitest/hyper/report.rb,
lib/minitest/hyper_plugin.rb,
lib/minitest/hyper/reporter.rb
Defined Under Namespace
Classes: Report, Reporter
Constant Summary
collapse
- GEM_DIR =
File.join(File.dirname(__FILE__), "../..")
- WORKING_DIR =
Dir.pwd
- REPORTS_DIR =
File.join(WORKING_DIR, "test/reports/hyper")
- REPORT_FILE =
File.join(REPORTS_DIR, "index.html")
- TEMPLATE_DIR =
File.join(GEM_DIR, "lib/templates")
- CSS_TEMPLATE =
File.join(TEMPLATE_DIR, "hyper.css")
- HTML_TEMPLATE =
File.join(TEMPLATE_DIR, "index.html.erb")
- VERSION =
"0.1.0"
- @@enabled =
false
Class Method Summary
collapse
Instance Method Summary
collapse
Class Method Details
.enable! ⇒ Object
43
44
45
|
# File 'lib/minitest/hyper_plugin.rb', line 43
def self.enable!
@@enabled = true
end
|
.enabled? ⇒ Boolean
39
40
41
|
# File 'lib/minitest/hyper_plugin.rb', line 39
def self.enabled?
@@enabled
end
|
Instance Method Details
#config(options) ⇒ Object
47
48
49
|
# File 'lib/minitest/hyper_plugin.rb', line 47
def config(options)
@options = options
end
|