git-read

Extract ApplicationSystemTestCase

In preparation for an additional System Test, this commit extracts the test harness’ set-up and tear-down code into a super-class that the test case inherits from.

To simplify require path resolution, and enable calling require "application_system_test_case" instead of require_relative "./application_system_test_case", the test runner will need to append the "test" directory onto the $LOAD_PATH.

To do so, declare a Rakefile that contains a Rake::TestTask. Passing -W0 as “warning, level 0” is necessary, since our dependency on Middleman results in too much output noise without silencing Ruby warnings.

To run the full test suite, execute:

rake test