This repo houses the acceptance tests for all PRX services. The tests will confirm that everything in the staging environment is playing together nicely, and then assemble a complete list of staging-service-versions to deploy to production, via SnapCI.
To run the tests locally:
cp env-example .env
vi .env # and enter your staging hosts
bundle exec rake test
# or run a single subset of tests
bundle exec rake test:dovetail
bundle exec rake test:publish
bundle exec rake test:upload
Use the PROFILE_TIME
environment variable to trigger profiling information as the tests run:
PROFILE_TIME=1 bundle exec rake test:metrics
Use the DEBUG
environment variable to trigger additional output as the tests run:
DEBUG=1 bundle exec rake test:metrics
Use the BLACKBOX
environment variable to trigger additional integration tests that rely
on asynchronous, eventually consistent systems (as for publish.prx.org).
BLACKBOX=1 bundle exec rake test:publish
Non-CI load testing is also housed in this repo. To test dovetail, just run bundle exec rake load:dovetail
. You can also specify the total-stitch-requests to make, and the concurrency of downloads: bundle exec rake load:dovetail[200,10]
.
The meta issue tracker is used to cover cross-service project management.
Dependencies | Coverage | Build | Climate | |
cms.prx.org | ||||
upload.prx.org | ||||
tower.radiotopia.fm | n/a | |||
rack-prx_auth |