Sha256: 3efe61b7a556f76b293c980a1b134e52913d3597e6277366ee4a0bc9f778e3a3

Contents?: true

Size: 333 Bytes

Versions: 34

Compression:

Stored size: 333 Bytes

Contents

class GobstonesTestHook < Mumukit::Defaults::TestHook
  def run!(request)
    output, status = request.precompiled_result

    if request.precompiled_batch.options[:interactive]
      ['', :passed]
    elsif status.passed?
      request.precompiled_batch.run_tests! output
    else
      request.precompiled_result
    end
  end
end

Version data entries

34 entries across 34 versions & 1 rubygems

Version Path
mumuki-gobstones-runner-2.19.1 lib/test_hook.rb
mumuki-gobstones-runner-2.19.0 lib/test_hook.rb
mumuki-gobstones-runner-2.18.0 lib/test_hook.rb
mumuki-gobstones-runner-2.17.0 lib/test_hook.rb
mumuki-gobstones-runner-2.16.0 lib/test_hook.rb
mumuki-gobstones-runner-2.14.3 lib/test_hook.rb
mumuki-gobstones-runner-2.15.0 lib/test_hook.rb
mumuki-gobstones-runner-2.14.2 lib/test_hook.rb
mumuki-gobstones-runner-2.14.1 lib/test_hook.rb
mumuki-gobstones-runner-2.14.0 lib/test_hook.rb
mumuki-gobstones-runner-2.13.0 lib/test_hook.rb
mumuki-gobstones-runner-2.12.1 lib/test_hook.rb
mumuki-gobstones-runner-2.12.0 lib/test_hook.rb
mumuki-gobstones-runner-2.11.0 lib/test_hook.rb
mumuki-gobstones-runner-2.10.1 lib/test_hook.rb
mumuki-gobstones-runner-2.10.0 lib/test_hook.rb
mumuki-gobstones-runner-2.9.1 lib/test_hook.rb
mumuki-gobstones-runner-2.9.0 lib/test_hook.rb
mumuki-gobstones-runner-2.8.5 lib/test_hook.rb
mumuki-gobstones-runner-2.8.4 lib/test_hook.rb