Sha256: 55c8860d24755f22793797107bd2c530820c33094507242ea64d007fa112797b
Contents?: true
Size: 634 Bytes
Versions: 33
Compression:
Stored size: 634 Bytes
Contents
#!/usr/bin/env ruby require 'puppettest' require 'puppettest/runnable_test' require 'test/unit' class PuppetTest::TestCase < Test::Unit::TestCase include PuppetTest extend PuppetTest::RunnableTest def self.suite # Always skip this parent class. It'd be nice if there were a # "supported" way to do this. if self == PuppetTest::TestCase suite = Test::Unit::TestSuite.new(name) return suite elsif self.runnable? return super else puts "Skipping #{name}: #{@messages.join(", ")}" if defined? $console suite = Test::Unit::TestSuite.new(name) return suite end end end
Version data entries
33 entries across 33 versions & 3 rubygems