Module: Teabag

Defined in:
lib/teabag/suite.rb,
lib/teabag/engine.rb,
lib/teabag/result.rb,
lib/teabag/runner.rb,
lib/teabag/server.rb,
lib/teabag/console.rb,
lib/teabag/utility.rb,
lib/teabag/version.rb,
lib/teabag/coverage.rb,
lib/teabag/exceptions.rb,
lib/teabag/environment.rb,
lib/teabag/command_line.rb,
lib/teabag/configuration.rb,
lib/teabag/instrumentation.rb,
lib/teabag/drivers/base_driver.rb,
lib/teabag/drivers/selenium_driver.rb,
lib/teabag/drivers/phantomjs_driver.rb,
lib/teabag/formatters/dot_formatter.rb,
lib/teabag/formatters/tap_formatter.rb,
lib/teabag/formatters/base_formatter.rb,
lib/teabag/formatters/clean_formatter.rb,
lib/teabag/formatters/tap_y_formatter.rb,
lib/teabag/formatters/teamcity_formatter.rb,
lib/generators/teabag/install/install_generator.rb,
lib/teabag/formatters/swayze_or_oprah_formatter.rb

Defined Under Namespace

Modules: Drivers, Environment, Formatters, Generators, SpecHelper, SprocketsInstrumentation, Utility Classes: AssetNotServable, CommandLine, Configuration, Console, Coverage, Engine, EnvironmentNotFound, Failure, Instrumentation, Result, Runner, RunnerException, Server, SpecController, Suite, UnknownSuite

Constant Summary collapse

RESULT_ATTRS =
[
  :type,
  :suite,
  :label,
  :status,
  :skipped,
  :link,
  :message,
  :trace,
  :elapsed,
  :total,
  :start,
  :level,
  :coverage
]
VERSION =
"0.7.3"
@@configuration =
Configuration

Class Method Summary collapse

Class Method Details

.setup {|@@configuration| ... } ⇒ Object

Yields:

  • (@@configuration)


71
72
73
74
# File 'lib/teabag/configuration.rb', line 71

def self.setup
  yield @@configuration
  override_from_env
end