Sha256: d18f1c6e1f52c65e1eb4a1a1670e5698b08538bec202926e53710c21f7e2afbd
Contents?: true
Size: 807 Bytes
Versions: 10
Compression:
Stored size: 807 Bytes
Contents
#!/usr/bin/env ruby # # Created by Luke A. Kanies on 2007-03-05. # Copyright (c) 2007. All rights reserved. require 'puppettest' require 'puppettest/runnable_test' 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 if defined? $console puts "Skipping %s: %s" % [name, @messages.join(", ")] end suite = Test::Unit::TestSuite.new(name) return suite end end end
Version data entries
10 entries across 10 versions & 1 rubygems