PRX / meta.prx.org

Meta data for all PRX services and apps.
0 stars 0 forks source link

META.prx.org

Acceptance Tests

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

Load Tests

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].

Metadata for PRX Services

The meta issue tracker is used to cover cross-service project management.

Software Health

Dependencies Coverage Build Climate
cms.prx.org Dependency Status Coverage Status
upload.prx.org Dependency Status Coverage Status
tower.radiotopia.fm Dependency Status Coverage Status n/a
rack-prx_auth Dependency Status Coverage Status