Skip to content
This repository has been archived by the owner on Jan 23, 2024. It is now read-only.

Commit

Permalink
more details in README
Browse files Browse the repository at this point in the history
  • Loading branch information
bengolder committed May 3, 2016
1 parent 3c818e9 commit 6662080
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 5 deletions.
1 change: 0 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -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
Expand Down
37 changes: 35 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
```
```

Run the functional tests with

```
make test.functional
```

This will create a series of screenshots in `tests/screenshots`.
2 changes: 0 additions & 2 deletions requirements/dev.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
# dependencies for development and testing

-r ci.txt

selenium==2.53.2
autopep8==1.2.1
pep8==1.6.2
Expand Down

0 comments on commit 6662080

Please sign in to comment.