Skip to content

Commit

Permalink
Merge pull request #429 from hammerlab/update-develeop-pdiff
Browse files Browse the repository at this point in the history
Make DEVELOP.md more precise/correct wrt tests
  • Loading branch information
ihodes committed Jan 16, 2015
2 parents a10b0ed + 424ee9b commit cec9b43
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions DEVELOP.md
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,7 @@ CycleDash uses [nosetests](https://nose.readthedocs.org/en/latest/) for Python t
To run tests:

```
source venv/bin/activate
source ENV.sh # make sure all our environment variables are around
nosetests tests/python # Run Python tests
npm test # Run JS tests
Expand All @@ -145,9 +146,13 @@ To run an individual JavaScript test, you can use:
CycleDash uses dpxdt for perceptual diff testing. To update the reference screenshots:

```
source venv/bin/activate
dpxdt update tests/pdifftests
```

Note: You don't need to source `./ENV.sh`, and doing so may break the pdiff
tests (if, for example, you specify a TypeKit URL in your ENV.sh).

Running `git status` after this should indicate whether the screenshots have changed.

To determine whether there are any pixels that have changed before/after, and to
Expand Down

0 comments on commit cec9b43

Please sign in to comment.