CONTRIBUTING.md in dap-1.0.1 vs CONTRIBUTING.md in dap-1.0.2

- old
+ new

@@ -79,10 +79,24 @@ Finally, submit the PR. Navigate to ```https://github.com/<your-github-username>/dap/compare/FOO```, fill in the details and submit. ### Testing -When your PR is submitted, it will be automatically subjected to the full run of tests in [Travis](https://travis-ci.org/rapid7/dap/), however you are encourage to perform testing _before_ submitting the PR. To do this, simply run `bundle exec rspec spec`. +When your PR is submitted, it will be automatically subjected to the full run +of tests in [Travis](https://travis-ci.org/rapid7/dap/), however you are +encourage to perform testing _before_ submitting the PR. There are two types of tests in place: +run `bundle exec rspec spec`. # Testing + +There are two testing frameworks in place. + +* Ruby `rspec` +* [bats](https://github.com/sstephenson/bats) integration tests + +To run these outside of travis-ci, run: +``` +docker build -t dap_testing -f Dockerfile.testing . && \ +docker run --rm --name dap_testing -it -e DAP_EXECUTABLE=dap dap_testing /bin/bash -l -c "rvm use 2.4.5 && gem build dap && gem install dap*.gem && bundle exec rspec spec && find /opt/bats_testing -name \*.bats | grep -v test/ test_helper/ | xargs -n1 bats" +``` ## Landing PRs (Note: this portion is a work-in-progress. Please update it as things change)