Skip to content

Commit 007f862

Browse files
committed
cleaning house
1 parent d0ff822 commit 007f862

File tree

2 files changed

+12
-592
lines changed

2 files changed

+12
-592
lines changed

tests/README.md

+12-1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,17 @@
22

33
A simple set of tests to help maintain sanity.
44

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

8+
`cmds.txt` holds a list of commands to perform on `index.html`.
9+
10+
The output of each of these commands produces a specific sha1sum. The expected
11+
sha1sum of each command is in `expected_output.txt`.
12+
13+
Running the `test` file (just a bash script) will run the tests and diff the
14+
output. If pup has changed at all since the last version, you'll see the sha1sums
15+
that changed and the commands that produced that change.
16+
17+
To overwrite the current sha1sums, just run `python run.py > expected_output.txt`
718

0 commit comments

Comments
 (0)