Install

Installing Test2::Harness


yath

Running yath

Normally the default command is 'test', and yath will tell you when it uses the default.
yath test

Running yath test

If you directly use the 'test' command it will omit the default command notification.
Preload
No Preload

Moose without preload

The Moose test suite can take a while to run.
Preload

Moose with preload

We can shave off an entire minute by preloading the Moose module!
Persist

Persist Mode

The 'start' command is used to start an instance that will hang out waiting for tests to run.

This is useful if you will be running tests 1 at a time, but want the benefit of preload. Now lets compare the 'run' command, which uses the persistent runner, and the 'test' command which does not.


Commands

Commands