Sha256: 4f1e6752ba92be484061a3b412da073ebf7383155da3d28d76a47b2aed03f18c
Contents?: true
Size: 677 Bytes
Versions: 2
Compression:
Stored size: 677 Bytes
Contents
require 'shenandoah/runner' require 'shenandoah/buildr/locator' module Buildr # :nodoc: module JavaScript # :nodoc: class Shenandoah < TestFramework::Base class << self def applies_to?(project) !::Shenandoah::Buildr::Locator.new(project).spec_files.empty? end end def initialize(test_task, options) super @locator = ::Shenandoah::Buildr::Locator.new(test_task.project) @runner = ::Shenandoah::Runner.new(@locator, options) end def tests(dependencies) @locator.spec_files end def run(tests, dependencies) @runner.run_console(tests) end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
shenandoah-0.2.0 | lib/shenandoah/buildr/test_framework.rb |
shenandoah-0.1.3 | lib/shenandoah/buildr/test_framework.rb |