Sha256: b7b912c1f0b7cdb4f5670978645fd683cd08676c4813bea9d0aa1734e2ef8ed2

Contents?: true

Size: 539 Bytes

Versions: 36

Compression:

Stored size: 539 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

36 entries across 36 versions & 1 rubygems

Version Path
hybrid_platforms_conductor-33.0.0 spec/hybrid_platforms_conductor_test/test_plugins/global.rb
hybrid_platforms_conductor-32.18.0 spec/hybrid_platforms_conductor_test/test_plugins/global.rb
hybrid_platforms_conductor-32.17.1 spec/hybrid_platforms_conductor_test/test_plugins/global.rb
hybrid_platforms_conductor-32.17.0 spec/hybrid_platforms_conductor_test/test_plugins/global.rb
hybrid_platforms_conductor-32.16.4 spec/hybrid_platforms_conductor_test/test_plugins/global.rb
hybrid_platforms_conductor-32.16.3 spec/hybrid_platforms_conductor_test/test_plugins/global.rb
hybrid_platforms_conductor-32.16.2 spec/hybrid_platforms_conductor_test/test_plugins/global.rb
hybrid_platforms_conductor-32.16.1 spec/hybrid_platforms_conductor_test/test_plugins/global.rb
hybrid_platforms_conductor-32.16.0 spec/hybrid_platforms_conductor_test/test_plugins/global.rb
hybrid_platforms_conductor-32.15.0 spec/hybrid_platforms_conductor_test/test_plugins/global.rb
hybrid_platforms_conductor-32.14.0 spec/hybrid_platforms_conductor_test/test_plugins/global.rb
hybrid_platforms_conductor-32.13.4 spec/hybrid_platforms_conductor_test/test_plugins/global.rb
hybrid_platforms_conductor-32.13.3 spec/hybrid_platforms_conductor_test/test_plugins/global.rb
hybrid_platforms_conductor-32.13.2 spec/hybrid_platforms_conductor_test/test_plugins/global.rb
hybrid_platforms_conductor-32.13.1 spec/hybrid_platforms_conductor_test/test_plugins/global.rb
hybrid_platforms_conductor-32.13.0 spec/hybrid_platforms_conductor_test/test_plugins/global.rb
hybrid_platforms_conductor-32.12.0 spec/hybrid_platforms_conductor_test/test_plugins/global.rb
hybrid_platforms_conductor-32.11.2 spec/hybrid_platforms_conductor_test/test_plugins/global.rb
hybrid_platforms_conductor-32.11.1 spec/hybrid_platforms_conductor_test/test_plugins/global.rb
hybrid_platforms_conductor-32.11.0 spec/hybrid_platforms_conductor_test/test_plugins/global.rb