Dear Monks,
I need to test a perl script which offers CLI functionality for some module.
I have discovered Test::Script and its script_fails() which is great.
BUT, I have noticed that in its synopsis it uses Test2::V0 as its general testing framework, And internally it depends on Test2::API. Unfortunately, I started this module some time ago and used Test::More. And I would not be happy changing horses mid-stream, as they say.
My questions are:
Test::Script's synopsis starts with:
use Test2::V0; use Test::Script;
I guess I have to start my tests in the same way and declare a dependency on Test2::V0 as well?
many thanks,
bw, bliako
In reply to Testing scripts under Test::More (with Test::Script) by bliako
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |