From ffd87f32d241b74f4afd7e32a05c8b25025dead3 Mon Sep 17 00:00:00 2001 From: Nathan Yam Date: Wed, 7 Jun 2017 23:36:44 +1000 Subject: [PATCH] Add test section in readme section --- README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/README.md b/README.md index 7ef3410..2265042 100644 --- a/README.md +++ b/README.md @@ -108,3 +108,8 @@ However, take note that binglog is not necessary for simple ES testing and devel You're done! The script should now be feeding updates from the database to Elasticsearch. Take note, however, that the specified ES index refresh interval is 30 seconds, which may feel like a long time on local development. Feel free to adjust it or [poke Elasticsearch yourself!](https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-refresh.html) + +### Running Tests +We have some basic tests that check if each page can render correctly. To run the tests: +- Make sure that you are in the python virtual environment. +- Run `python -m pytest tests/` while in the repository directory.