Test::Starch - Test core features of starch.
use Test2::V0; use Test::Starch; my $tester = Test::Starch->new( plugins => [ ... ], store => ..., ..., ); $tester->test(); done_testing;
This class runs the core Starch test suite by testing public interfaces of Starch::Manager, Starch::State, and Starch::Store. These are the same tests that Starch runs when you install it from CPAN.
This module is used by stores and plugins to ensure that they have not broken any of the core features of Starch. All store and plugin authors are highly encouraged to run these tests as part of their test suite.
Along the same lines, it is recommended that if you use Starch that you make a test in your in-house test-suite which runs these tests against your configuration.
This class takes all the same arguments as Starch and saves them to be used when "new_manager" is called by the tests. Unlike Starch, if the store argument is not passed it will defailt to a Memory store.
store
Creates a new Starch::Manager object and returns it. Any arguments you specify to this method will override those specified when creating the Test::Starch object.
Calls "test_manager", "test_state", and "test_store".
Tests Starch::Manager.
Test Starch::State.
Tests the Starch::Store.
See "SUPPORT" in Starch.
See "AUTHORS" in Starch.
See "COPYRIGHT AND LICENSE" in Starch.
To install Starch, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Starch
CPAN shell
perl -MCPAN -e shell install Starch
For more information on module installation, please visit the detailed CPAN module installation guide.