Class: Busser::RunnerPlugin::Shunit2
- Inherits:
-
Base
- Object
- Base
- Busser::RunnerPlugin::Shunit2
- Defined in:
- lib/busser/runner_plugin/shunit2.rb
Overview
A Busser runner plugin for Shunit2.
Instance Method Summary collapse
Instance Method Details
#test ⇒ Object
56 57 58 59 60 61 62 63 |
# File 'lib/busser/runner_plugin/shunit2.rb', line 56 def test shunit2_file = vendor_path('shunit2').join('shunit2') runner = vendor_path('shunit2').join('runner') Dir.glob("#{suite_path('shunit2')}/*_{test,spec}.{sh,bash}").each do |file| "[shunit2] #{File.basename(file)}" run!("#{runner} #{file} #{shunit2_file}") end end |