-
Notifications
You must be signed in to change notification settings - Fork 0
Contributing and Testing
Please fork the Cognizant repository and contribute back using pull requests.
Any contributions, large or small, major features, bug fixes, documentation, unit/integration tests are welcomed and appreciated but will be thoroughly reviewed and discussed.
Cognizant aims to provide extensive integration and functional tests for easier development and maintenance workflow.
Currently only integration tests are written for Cognizant using Cucumber and Aruba.
Sometimes getting the tests running can be too much work especially if you don't have much Ruby experience. It's okay, be lazy and let our build bot, Travis-CI, run the tests for you. Just open a pull request and the bot will start cranking away.
Tests are automatically run upon every repo commit as well. View the results on Cognizant's Travis-CI page.
Clone the repo:
$ git clone git://github.com/Gurpartap/cognizant.git && cd cognizant
Install the development dependencies:
$ bundle install --path .bundle
And run the tests with:
$ bundle exec cucumber
Or
$ bundle exec rake features