Sha256: 9c88ef9f6b554fc4d6786d72b8051a5569151c1ca1f956b2c40a2d46c2ad32c9
Contents?: true
Size: 540 Bytes
Versions: 31
Compression:
Stored size: 540 Bytes
Contents
module HybridPlatformsConductorTest module TestPlugins # Test plugin at global level class Global < HybridPlatformsConductor::Test class << self # Number of times our test has been run # Integer attr_accessor :nbr_runs # Do we fail? # Boolean attr_accessor :fail end # Check my_test_plugin.rb.sample documentation for signature details. def test raise 'Failing test' if Global.fail Global.nbr_runs += 1 end end end end
Version data entries
31 entries across 31 versions & 1 rubygems