Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automate Testing Infrastructure #80

Closed
jerneyio opened this issue Nov 17, 2018 · 2 comments
Closed

Automate Testing Infrastructure #80

jerneyio opened this issue Nov 17, 2018 · 2 comments

Comments

@jerneyio
Copy link
Contributor

The goal here is to automate the following using docker-compose:

Start Keycloak and Kong's db, wait till it's ready, run the db migration (uncomment the command in docker-compose.yml, start Kong and run setup.py. The source code in mounted into the container, so you need only to restart Kong's container to test your changes.

This way the tests and infrastructure they run on can be executed using a single command.

@jerneyio
Copy link
Contributor Author

Got the build working with one command. How are the tests run once the services are running and setup.py has been run?

@jerneyio
Copy link
Contributor Author

jerneyio commented Nov 18, 2018

As far as I could tell, there are no tests to run (yet) after setup.py has been run.

For unit tests, I created a docker image that can run the unit tests. That way, all developers can run them in exactly the same environment (these were crashing on my Mac, previously).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant