Output Testing

This is current off during a refactor

Overview

Output testing is done by creating files in a "tests" folder. The name of each file is "NAME-ID.txt" where "NAME" is a name to help identify the tests the file contains and "ID" is the page id of the content file to run the test against.

For example, I put tests for the home page of this site in:

`home-page-2ck33evh.txt``

Tests are defined by writing strings to look for.

Individual tests are separated by lines with five tildes (i.e. `~~~~~``)

Spaces and line breaks aren't taken into account during the matching. This prevents issues with tabs and spaces causing false errors

Any errors are printed to the command line when the process runs