Skip to content

Latest commit

 

History

History
36 lines (25 loc) · 770 Bytes

README.md

File metadata and controls

36 lines (25 loc) · 770 Bytes

Introduction

This folder stores all unit tests for this Flask application.

| File                      | Description                                          |
| ------------------------- | ----------------------------------------------------:|
| base_test.py              | Base class for unit tests                            |
| base_test_with_data.py    | Base class for unit tests with minimum database rows |
| test_*.py                 | Unit test files (must use the "test_" prefix)        |

Setup

To run tests easier we use the fabric tool:

pip install fabric
cd app
fab prep_develop

Usage

Once you have installed the dependencies you can run the tests by executing:

cd app
fab test