mozilla-services/conduit-testing

Name: conduit-testing

Owner: Mozilla Services

Description: Repo containing tests to be run when Conduit deployments are done

Created: 2018-03-28 15:35:50.0

Updated: 2018-04-30 18:21:08.0

Pushed: 2018-05-24 07:22:56.0

Homepage: null

Size: 17

Language: Python

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

Conduit Testing

This repo contains tests that are to be run whenever a version of Conduit is deployed.

Requirements

This project using Python 3.6.4 or greater and uses Pipenv to manage dependencies. To get started using this project, please do the following

  1. Make sure you have Python 3.6.4 or greater installed
  2. Follow the instructions for Pipenv to install it
  3. From inside this directory type the command pipenv install
  4. Activate the Python environment with the command pipenv shell

You will also need the following:

This project uses dotenv to store credentials and other values needed by the tests. Refer to the instructions for python-dotenv for details on how it works and check the .env-dist file for the values that you need to set. If you are going to use the dotenv approach, copy .env-dist to .env and fill in the required values.

If you are going to run these tests on a build server, please consult the documentation for that specific build server on how to set the environment variables this test is expecting to exist.

Running the tests

To run the tests, use the following command:

pytest tests/


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.