When you want to write code for the project, please follow these guidelines:
- Claim the ticket: Tell us that you want to work on a certain ticket, we will assign it to you (We don't want two people to work on the same thing 😉 )
- Fork your feature branch from the
master
branch - Write an acceptance test: Describe what you want to do (our acceptance tests touch the database)
- Implement it: Write a unit test, check that it fails, make the test pass – repeat (our unit tests don't touch the database)
- Write documentation for it.
- Check with
bundle exec rake ci
(you need to have ArangoDB running for that) that everything is fine and send the pull request to themaster
branch :)
Nothing special:
- Clone the project
cd
into the folder and runbundle
bundle exec rake ci
and see all tests passing (you need to have ArangoDB running for that)- Happy hacking!
Guard is a tool for comfortable development. If you want to use it, you have to first start an instance of ArangoDB and then start guard with bundle exec guard
. This will:
- Run
bundle
whenever you change the dependencies - Run the unit tests whenever you change a file in the lib or spec directory