use Test::More; use App::RecordStream::Test::OperationHelper; use strict; use warnings; BEGIN { use_ok( 'App::RecordStream::Operation::tocsv' ) }; my $stream = <test_output( 'tocsv', [], $stream, $solution, ); App::RecordStream::Test::OperationHelper->test_output( 'tocsv', ['--key', '!oo!sort'], $stream, $solution, ); $solution = <test_output( 'tocsv', ['--noheader'], $stream, $solution, ); $solution = <test_output( 'tocsv', ['--key', 'foo'], $stream, $solution, ); $solution = <test_output( 'tocsv', ['--key', 'foo,zoo', '--delim', "\t"], $stream, $solution, ); done_testing;