CONTRIBUTING.md in aruba-1.0.4 vs CONTRIBUTING.md in aruba-1.1.0

- old
+ new

@@ -117,46 +117,34 @@ ### Running tests Run the following command to run the test suite. ```bash -# Run the test suite -bin/test -``` - -Or use these Rake tasks: - -```bash # Run the whole test suite -rake test +bundle exec rake # Run RSpec tests -rake spec +bundle exec rake spec # Run Cucumber features -rake cucumber +bundle exec rake cucumber # Run Cucumber features which are "WORK IN PROGRESS" and are allowed to fail -rake cucumber:wip +bundle exec rake cucumber:wip ``` If you have problems because our assumptions about your local setup are wrong, perhaps you can use this Docker workflow. This requires [Docker] to be installed on your local system. ```bash # Build the docker container -bundle exec rake docker:build +docker build -t test-aruba . -# Alternative: Build with disabled cache -bundle exec rake 'docker:build[false]' +# Open a bash shell inside the container with attached volume so changes to the +# code will be picked up automatically. +docker run -v $PWD:/aruba --rm -it test-aruba:latest bash -# Build image with version tag -bundle exec rake 'docker:build[false, 0.1.0]' - -# Run the whole test suite in "docker"-container -RUN_IN_DOCKER=1 bin/test - -# Run only selected scenario -RUN_IN_DOCKER=1 bin/test cucumber features/steps/command/shell.feature:14 +# Run the test suite +bundle exec rake ``` ### Installing your own gems used for development A `Gemfile.local` file can be used, to have your own gems installed to support @@ -216,10 +204,10 @@ ```bash # update dependencies bundle update # Run test suite -bin/test +bundle exec rake # Release gem git commit -m "Version bump" bundle exec rake release ```