my $output = $app->run(@params); is( $output, $expected, $name ); # and so on ...