class Greyatom::Strategies::PythonUnittest

Public Instance Methods

detect() click to toggle source
# File lib/greyatom/tests/strategies/python-test.rb, line 7
def detect
  files.any? {|f| f.match(/.*.py$/) }
end
files() click to toggle source
# File lib/greyatom/tests/strategies/python-test.rb, line 11
def files
  @files ||= Dir.entries('.')
end
run() click to toggle source
# File lib/greyatom/tests/strategies/python-test.rb, line 15
def run
  system("nosetests")
end