From 6662080b3e2182ed4f35debc4800252b876a2d58 Mon Sep 17 00:00:00 2001 From: Ben Golder Date: Tue, 3 May 2016 15:19:05 -0700 Subject: [PATCH] more details in README --- .travis.yml | 1 - README.md | 37 +++++++++++++++++++++++++++++++++++-- requirements/dev.txt | 2 -- 3 files changed, 35 insertions(+), 5 deletions(-) diff --git a/.travis.yml b/.travis.yml index 9e698d45..1cd99e7a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,7 +1,6 @@ # Config file for automatic testing at travis-ci.org language: python python: - - "3.4" - "3.5" install: pip install -r requirements/ci.txt script: make test diff --git a/README.md b/README.md index 77a5cd90..c2f1f7d0 100644 --- a/README.md +++ b/README.md @@ -7,9 +7,42 @@ source bin/activate make install ``` -For running functional tests +## Set up the database + + +## Set up environmental variables + + +## Run the local server + +The following command will spin up a local server at [http://localhost:8000/](http://localhost:8000/) + +``` +make serve +``` + +## Testing + +To run the suite of integration and unit tests and see a coverage report, use +``` +make test +``` + +### Functional testing + +Functional tests are written using the Chrome webdriver with selenium. + +Install the Chrome drivers for your operating system. On OS X, you can use Homebrew. ``` brew install chromedriver brew services start chromedriver -``` \ No newline at end of file +``` + +Run the functional tests with + +``` +make test.functional +``` + +This will create a series of screenshots in `tests/screenshots`. \ No newline at end of file diff --git a/requirements/dev.txt b/requirements/dev.txt index 0c639563..9313100f 100644 --- a/requirements/dev.txt +++ b/requirements/dev.txt @@ -1,7 +1,5 @@ # dependencies for development and testing - -r ci.txt - selenium==2.53.2 autopep8==1.2.1 pep8==1.6.2