cli
cli copied to clipboard
Test service environment variables
For example, take a Twitter oauth credentials. The microservice would design a simple test to make sure the variables are valid. This test would be included in the microservice.yml
tests:
environment: 'python tests/environment.py'
The tests/environment.py would simple ping Twitter and exit 1 if the variables are not setup properly.