class Busser::RunnerPlugin::Nose2

A Busser runner plugin for Nose2.

@author Omer Katz <omer.drow@gmail.com>

Public Instance Methods

test() click to toggle source
# File lib/busser/runner_plugin/nose2.rb, line 29
def test
  if File.file?("#{suite_path('nose2')}/requirements.txt")
      puts "Installing test requirements."
      run!("pip install -r #{suite_path('nose2')}/requirements.txt")
  end
  run!("nose2 --start-dir #{suite_path('nose2').to_s}/tests")
end