class Lapidarist::TestCommand

Attributes

shell[R]

Public Class Methods

new() click to toggle source
# File lib/lapidarist/test_command.rb, line 3
def initialize
  @shell = Shell.new
end

Public Instance Methods

run() click to toggle source
# File lib/lapidarist/test_command.rb, line 7
def run
  shell.run(to_s)[1]
end
success?() click to toggle source
# File lib/lapidarist/test_command.rb, line 11
def success?
  run == 0
end
to_s() click to toggle source
# File lib/lapidarist/test_command.rb, line 15
def to_s
  Lapidarist.config.test_script
end