cli icon indicating copy to clipboard operation
cli copied to clipboard

Test service environment variables

Open stevepeak opened this issue 7 years ago • 0 comments

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.

stevepeak avatar Dec 19 '18 10:12 stevepeak