Class: CTT::Cli::Command::RerunTests
- Includes:
- CTT::Cli
- Defined in:
- lib/cli/commands/rerun.rb
Constant Summary
Constants included from CTT::Cli
RESULTS_SERVER_URL, STATIC_COMMANDS, TEST_RESULT_FILE, TEST_SUITE_CONFIG_FILE, VERSION
Instance Method Summary collapse
-
#initialize(args, runner) ⇒ RerunTests
constructor
A new instance of RerunTests.
- #run ⇒ Object
- #run_tests ⇒ Object
Constructor Details
#initialize(args, runner) ⇒ RerunTests
Returns a new instance of RerunTests.
8 9 10 11 |
# File 'lib/cli/commands/rerun.rb', line 8 def initialize(args, runner) super(args, runner) @suites = @runner.suites end |
Instance Method Details
#run ⇒ Object
13 14 15 16 17 |
# File 'lib/cli/commands/rerun.rb', line 13 def run say("rerun failed cases", :green) #run_tests show_summary end |