Skip to content

Commit

Permalink
cleaning house
Browse files Browse the repository at this point in the history
  • Loading branch information
ericchiang committed Nov 10, 2014
1 parent d0ff822 commit 007f862
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 592 deletions.
13 changes: 12 additions & 1 deletion tests/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,17 @@

A simple set of tests to help maintain sanity.

These tests don't actually test functionality
These tests don't actually test functionality they only make sure pup behaves
the same after code changes.

`cmds.txt` holds a list of commands to perform on `index.html`.

The output of each of these commands produces a specific sha1sum. The expected
sha1sum of each command is in `expected_output.txt`.

Running the `test` file (just a bash script) will run the tests and diff the
output. If pup has changed at all since the last version, you'll see the sha1sums
that changed and the commands that produced that change.

To overwrite the current sha1sums, just run `python run.py > expected_output.txt`

Loading

0 comments on commit 007f862

Please sign in to comment.