Class: TestLauncher::Frameworks::RSpec::TestCase
- Inherits:
-
Base::TestCase
- Object
- Implementation::TestCase
- Base::TestCase
- TestLauncher::Frameworks::RSpec::TestCase
- Defined in:
- lib/test_launcher/frameworks/rspec.rb
Instance Attribute Summary
Attributes inherited from Implementation::TestCase
#example, #file, #line_number, #request
Instance Method Summary collapse
Methods inherited from Implementation::TestCase
#app_root, #exploded_path, from_search, #initialize, #is_example?, #mtime, #relative_file, #test_root
Constructor Details
This class inherits a constructor from TestLauncher::Frameworks::Implementation::TestCase
Instance Method Details
#runner ⇒ Object
80 81 82 83 84 85 86 87 88 |
# File 'lib/test_launcher/frameworks/rspec.rb', line 80 def runner @runner ||= begin if File.exist?(File.join(app_root, "bin/rspec")) "bin/rspec" else "bundle exec rspec" end end end |
#test_root_dir_name ⇒ Object
76 77 78 |
# File 'lib/test_launcher/frameworks/rspec.rb', line 76 def test_root_dir_name "spec" end |