class Buildr::IntegrationTestsTask

The integration tests task. Buildr has one such task (see Buildr#integration) that runs all tests marked with :integration=>true, and has a setup/teardown tasks separate from the unit tests.

Public Instance Methods

setup(*prereqs) → task click to toggle source
setup(*prereqs) { |task| .. } → task

Returns the setup task. The setup task is executed before running the integration tests.

# File lib/buildr/core/test.rb, line 597
def setup(*prereqs, &block)
  @setup.enhance prereqs, &block
end
teardown(*prereqs) → task click to toggle source
teardown(*prereqs) { |task| .. } → task

Returns the teardown task. The teardown task is executed after running the integration tests.

# File lib/buildr/core/test.rb, line 606
def teardown(*prereqs, &block)
  @teardown.enhance prereqs, &block
end