Module: TestAssistant
- Defined in:
- lib/test_assistant.rb,
lib/test_assistant/version.rb,
lib/test_assistant/configuration.rb,
lib/test_assistant/failure_reporter.rb
Overview
Utility module for working with RSpec test suites for Rails or similar applications
Contains:
-
Rendering and debugging tools for viewing test failures
Defined Under Namespace
Classes: Configuration, FailureReporter
Constant Summary collapse
- VERSION =
"1.0.0"
Class Method Summary collapse
-
.configure(rspec_config) ⇒ Object
(also: config)
Configures what parts of TestAssistant are included in your test suite and how they behave.
Class Method Details
.configure(rspec_config) ⇒ Object Also known as: config
Configures what parts of TestAssistant are included in your test suite and how they behave.
19 20 21 22 23 24 25 |
# File 'lib/test_assistant.rb', line 19 def configure(rspec_config) configuration = Configuration.new(rspec_config) if block_given? yield(configuration) end end |