Module: TestConsole
- Defined in:
- lib/test_console.rb,
lib/test_console/help.rb,
lib/test_console/colors.rb,
lib/test_console/config.rb,
lib/test_console/output.rb,
lib/test_console/runner.rb,
lib/test_console/builder.rb,
lib/test_console/history.rb,
lib/test_console/monitor.rb,
lib/test_console/utility.rb,
lib/test_console/version.rb,
lib/test_console/cli_parser.rb
Defined Under Namespace
Modules: Builder, CliParser, Colors, Config, Help, History, Monitor, Output, Runner, Utility
Constant Summary collapse
- VERSION =
"0.0.7"
Constants included from Colors
Class Method Summary collapse
-
.commands(type) ⇒ Object
Returns an array of commands for the specfied function.
- .die ⇒ Object
- .setup {|Config| ... } ⇒ Object
Methods included from Runner
Methods included from Colors
color, reset_color, start_color
Methods included from Output
error, out, print_negatives, print_result_summary
Methods included from Monitor
auto_reload!, stop_folders_changed?, views_changed?
Methods included from Help
Methods included from CliParser
Methods included from CliParser::Parsers
Methods included from Builder
filter_tests, make_suite_from_file, make_suite_from_folder
Class Method Details
.commands(type) ⇒ Object
Returns an array of commands for the specfied function. Valid commands are:
:run
:rerun
:quit
:help
14 15 16 17 |
# File 'lib/test_console/config.rb', line 14 def self.commands(type) command = "#{type}_commands".to_sym # Deliberately not to_s-ing to avoid : TestConsole::Config.send(command) if TestConsole::Config.respond_to?(command) end |
.setup {|Config| ... } ⇒ Object
2 3 4 |
# File 'lib/test_console/config.rb', line 2 def self.setup yield Config end |