Class: TestLauncher::Frameworks::Minitest::TestCase
- Inherits:
-
Base::TestCase
- Object
- Implementation::TestCase
- Base::TestCase
- TestLauncher::Frameworks::Minitest::TestCase
- Defined in:
- lib/test_launcher/frameworks/minitest.rb
Instance Attribute Summary
Attributes inherited from Implementation::TestCase
Instance Method Summary collapse
Methods inherited from Implementation::TestCase
#app_root, #exploded_path, from_search, #initialize, #is_example?, #mtime, #relative_test_path, #spring_enabled?, #test_root
Constructor Details
This class inherits a constructor from TestLauncher::Frameworks::Implementation::TestCase
Instance Method Details
#runner ⇒ Object
51 52 53 54 55 56 57 58 59 |
# File 'lib/test_launcher/frameworks/minitest.rb', line 51 def runner if spring_enabled? "bundle exec spring testunit" elsif is_example? "bundle exec ruby -I test" else "bundle exec ruby -I test -e 'ARGV.each {|f| require(File.join(Dir.pwd, f))}'" end end |
#test_root_folder_name ⇒ Object
61 62 63 |
# File 'lib/test_launcher/frameworks/minitest.rb', line 61 def test_root_folder_name "test" end |