Skip to content
This repository has been archived by the owner on Jul 16, 2019. It is now read-only.

To Make Tests Run, Read This

ktoso edited this page May 5, 2011 · 1 revision

About 80% percent of tests in Janbanery are integration tests - well it's a client lib to an API so it makes sense to check if it's really working the way it should. Having that said, there is one downsite do this - we actually do call Kanbanery in 80% of our tests. This makes them "not super fast" and the second thing this implies is: you have to provide Janbanery with a valid Kanbanery API key to run integration tests.

The tests all use this properties file src/test/resources for getting valid API keys and username/pass for it. This file is, for obvious reasons, not version controlled (it's included in .gitignore) so you may safely create the file and start hacking.

Here's how it should look like (there's an janbanery.example.properties you can use as a template in the same folder):

apikey=798374598347905830980-530-4954
username=example@example.com
password=mySuperHardPasswordW1t}{Numbzorz3245

That's it, happy hacking!

Clone this wiki locally