Sponsoring The Perl Toolchain Summit 2025: Help make this important event another success Learn more

#!/usr/bin/env perl
use v5.12.5;
use lib 't/lib';
our $VERSION = '9999.99.99_99'; # VERSION
use Test::More tests => 3;
$::QUIET = 1;
my $task_list = Rex::TaskList->create;
my @task_names = $task_list->get_tasks;
cmp_deeply
\@task_names,
[qw/t:tasks:cowboy:roundup/],
"found visible task";
my @all_task_names = sort $task_list->get_all_tasks(qr/.*/);
cmp_deeply
\@all_task_names,
[qw/t:tasks:alien:negotiate t:tasks:cowboy:roundup/],
"found hidden task";