Module: Overseer

Extended by:
Overseer, Duties
Included in:
Overseer
Defined in:
lib/overseer.rb,
lib/overseer/dsl.rb,
lib/overseer/test.rb,
lib/overseer/color.rb,
lib/overseer/suite.rb,
lib/overseer/duties.rb,
lib/overseer/runner.rb,
lib/overseer/version.rb,
lib/overseer/reporter.rb,
lib/overseer/assertions.rb

Defined Under Namespace

Modules: Assertions, Color, Dsl, Duties, Reporter, Runner Classes: Assertion, Suite, Test

Constant Summary collapse

OVERSEER_DIR =
File.dirname(File.dirname(File.expand_path(__FILE__)))
VERSION =
"0.0.1"

Instance Attribute Summary

Attributes included from Duties

#current_suite, #current_test

Instance Method Summary collapse

Methods included from Duties

build_after, build_before, build_suite, build_test, errors_exists?, failures_exists?, suites, total_assertions, total_errors, total_failures, total_tests, total_time

Instance Method Details

#included(suite) ⇒ Object

:nodoc:



17
18
19
20
21
# File 'lib/overseer.rb', line 17

def included(suite) #:nodoc:
  suite.send(:extend, Dsl)
  suite.send(:extend, Assertions)
  build_suite(suite)
end