File size: 745 Bytes
7c89ed7
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Tests
=====

Our test suite builds and runs entirely in `docker`, so a Docker daemon is required to be running locally. The test suite requires a local Elasticsearch and RabbitMQ service to run, but will be started automatically as containers as part of the tests make targets.

Run tests
---------

To run our entire test suite, simply run::

  make tests

If you want to only run a specific test file/directory, you can specify the `TEST_CASE` parameter::

  make tests TEST_CASE=tests/mq/plugins/test_github_webhooks.py

.. note:: If you end up with a clobbered ES index, or anything like that which might end up in failing tests, you can clean the environment with `make clean`. Then run the tests again.

.. _docker: https://www.docker.io/