Class: Roger::Cli::Test
- Inherits:
-
Thor
- Object
- Thor
- Roger::Cli::Test
- Defined in:
- lib/roger/cli/test.rb
Overview
The test command and all it’s children
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.exit_on_failure? ⇒ Boolean
4 5 6 |
# File 'lib/roger/cli/test.rb', line 4 def self.exit_on_failure? true end |
Instance Method Details
#all ⇒ Object
11 12 13 14 15 |
# File 'lib/roger/cli/test.rb', line 11 def all # If we use fail here the test breaks; no idea why # rubocop:disable Style/SignalException: raise(Thor::Error, "Test failed") unless Cli::Base.project.test.run! end |