Sha256: 6e49a50dd4e9a6ed3f0d40aa8b5d955ebb67df168c6acf7c37b0d8ae0de461df

Contents?: true

Size: 1.15 KB

Versions: 2

Compression:

Stored size: 1.15 KB

Contents

Feature: Boostrapping

  Omnitest uses the [script/bootstrap](http://wynnnetherland.com/linked/2013012801/bootstrapping-consistency) pattern to prepare projects for testing. You can hook into any package manager, compiler, build tool, or any other toolchain to prepare to build and run samples.

  Scenario: Bootstrapping all projects
    Given the ruby project
    And the java project
    And the python project
    And the sample omnitest config
    And the hello_world skeptic config
    When I run `bundle exec omnitest bootstrap`
    Then the output should contain "-----> Bootstrapping java"
    Then the output should contain "-----> Bootstrapping python"
    Then the output should contain "-----> Bootstrapping ruby"

  Scenario: Bootstrapping selected projects
    Given the ruby project
    And the java project
    And the python project
    And the sample omnitest config
    And the hello_world skeptic config
    When I run `bundle exec omnitest bootstrap "(java|ruby)"`
    Then the output should contain "-----> Bootstrapping java"
    Then the output should not contain "-----> Bootstrapping python"
    Then the output should contain "-----> Bootstrapping ruby"

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
omnitest-0.2.2 features/bootstrapping.feature
omnitest-0.2.1 features/bootstrapping.feature