Module: Attest

Defined in:
lib/attest.rb,
lib/attest/config.rb,
lib/attest/test_loader.rb,
lib/attest/test_object.rb,
lib/attest/test_parser.rb,
lib/attest/test_container.rb,
lib/attest/execution_context.rb,
lib/attest/expectation_result.rb,
lib/attest/output/output_writer.rb,
lib/attest/proc/proc_source_reader.rb,
lib/attest/output/basic_output_writer.rb,
lib/attest/output/output_writer_interface.rb,
lib/attest/output/test_unit_output_writer.rb,
lib/attest/interface/test_double_configurator.rb,
lib/attest/output/failures_only_output_writer.rb,
lib/attest/interface/output_writer_configurator.rb,
lib/attest/interface/possible_tests_configurator.rb

Defined Under Namespace

Modules: Output Classes: Config, ExecutionContext, ExpectationResult, OutputWriterConfigurator, PossibleTestsConfigurator, ProcSourceReader, TestContainer, TestDoubleConfigurator, TestLoader, TestObject, TestParser

Class Method Summary collapse

Class Method Details

.configureObject Also known as: config



7
8
9
10
# File 'lib/attest.rb', line 7

def configure
  config = Attest::Config.instance
  block_given? ? yield(config) : config
end