class LearnTest::Pytest::PytestChecker
Public Class Methods
check()
click to toggle source
# File lib/learn_test/strategies/pytest/requirements_checker.rb, line 48 def self.check return if self.pytest_installed? puts 'Please ensure pytest is installed' exit end
pytest_installed?()
click to toggle source
# File lib/learn_test/strategies/pytest/requirements_checker.rb, line 55 def self.pytest_installed? !`which pytest`.empty? end