Sha256: e481cf6e379739590f344786ef18a5f1ca965fa55ff8c29d230464b5702bc939

Contents?: true

Size: 185 Bytes

Versions: 4

Compression:

Stored size: 185 Bytes

Contents

require "petitest"

at_exit do
  test_cases = Petitest::TestGroup.test_cases
  result = Petitest::TestCasesRunner.new(test_cases).run
  exit_code = result ? 0 : 1
  exit(exit_code)
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
petitest-0.1.3 lib/petitest/autorun.rb
petitest-0.1.2 lib/petitest/autorun.rb
petitest-0.1.1 lib/petitest/autorun.rb
petitest-0.1.0 lib/petitest/autorun.rb