Skip to content
Integration tests for openruko
Shell
Find file
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
tests
.gitignore
.travis.yml
README.md
run.sh

README.md

Integration tests

It will create a new database, a new node.js project and will push it on openruko.

Several openruko commands are tested like:

openruko login
openruko logout
openruko create
git push heroku master
openruko releases
openruko config
openruko domains
openruko ps
openruko logs
...

Take a look at the tests

Install

keepgreen depends on expect

sudo apt-get install expect

Run

./run.sh

Path to apiserver/postgres/setup is hardcoded in 10-restart.sh.

The easier way to launch keengreen tests is by using vagrant-openruko

Debug

tail -f /var/log/openruko/* &
cd tests
./10-restart.sh
./20-login.sh
./30-keys.sh
./40-apps.sh
./50-config.sh
./60-push.sh
./70-domains.sh
./80-update.sh
./90-scale.sh

Something went wrong with that request. Please try again.