Class: LearnLab::Test::Strategies::None
- Inherits:
-
LearnLab::Test::Strategy
- Object
- LearnLab::Test::Strategy
- LearnLab::Test::Strategies::None
- Defined in:
- lib/learn_lab/test/strategies/none.rb
Overview
Null strategy object used when no test suite is detected.
Instance Attribute Summary
Attributes inherited from LearnLab::Test::Strategy
Instance Method Summary collapse
Methods inherited from LearnLab::Test::Strategy
#check_dependencies, #cleanup, #initialize, #output, #result_filename, #results
Constructor Details
This class inherits a constructor from LearnLab::Test::Strategy
Instance Method Details
#parser ⇒ Object
16 17 18 |
# File 'lib/learn_lab/test/strategies/none.rb', line 16 def parser @parser ||= LearnLab::Test::Parsers::Null.new end |
#run ⇒ Object
9 10 11 12 13 14 |
# File 'lib/learn_lab/test/strategies/none.rb', line 9 def run out.puts " This directory doesn't appear to have any specs in it, so\n there\u2019s no test to run.\n MSG\nend\n" |