Sha256: 8bde36c95509b5113d7644f957954cebec8dd2ba502aace597a42886d986ea55
Contents?: true
Size: 282 Bytes
Versions: 2
Compression:
Stored size: 282 Bytes
Contents
require "petitest" at_exit do if $! && !($!.is_a?(::SystemExit) && $!.success?) next end test_classes = Petitest::Test.children test_plan = Petitest::TestPlan.new(test_classes: test_classes) test_plan.run exit_code = test_plan.passed? ? 0 : 1 exit(exit_code) end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
petitest-0.3.1 | lib/petitest/autorun.rb |
petitest-0.3.0 | lib/petitest/autorun.rb |