From a3fe1dff1fe24f8de7c9155b1d2884e817b34cf1 Mon Sep 17 00:00:00 2001 From: Leo Hemsted Date: Wed, 24 Aug 2016 14:30:46 +0100 Subject: [PATCH] include section on testing in readme.md --- README.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/README.md b/README.md index 8d31a6be3..0142f62f8 100644 --- a/README.md +++ b/README.md @@ -72,6 +72,22 @@ scripts/run_celery_beat.sh ``` + +## To test the application + +First, ensure that `scripts/boostrap.sh` has been run, as it creates the test database. + +Then simply run + +``` +make test +``` + +That will run pep8 for code analysis and our unit test suite. If you wish to run our functional tests, instructions can be found in the +[notifications-functional-test](https://github.com/alphagov/notifications-functional-test) repository. + + + ## To remove functional test data NOTE: There is assumption that both the server name prefix and user name prefix are followed by a uuid.