view release on metacpan or search on metacpan
test_requires => {
autodie => 0,
'Dpkg::Version' => 0,
'File::Remove' => 0,
'Git' => 0,
perl => '5.010',
'SVN::Core' => 0,
'SVN::Fs' => 0,
'SVN::Repos' => 0,
'Test::Compile' => 0,
'Test::Differences' => 0,
'Test::Exception' => 0,
'Test::Perl::Critic' => 0,
'Test::Pod::Coverage' => 0,
'Test::Pod' => 0,
'Test::Simple' => '0.92',
'YAML' => 0,
},
requires => {
perl => '5.010',
'Class::Accessor' => 0,
1.32 2014-08-04
[ Damyan Ivanov ]
* bot: store real path to the pid directory
* bot: remove PID file on exit
* fix utf-8 locale detection in 50-client.t
* TestBot: test helper module for running a real bot for tests
* 50-client.t: check real bot output
* TestBot: report bot PID when starting/stopping
* convert 52-client-git to TestBot
* fix detection of common changes path when using msg_template
* require File::Remove and Test::Differences for tests
* convert 53-client-git-merges.t to TestBot
* convert 54-client-git-squash.t to TestBot
* convert t/55-client-git-merges-ff.t to TestBot
* convert t/56-client-git-ff-merge-2.t to TestBot
* convert t/57-client-git-squash-tags.t to TestBot
* avoid double-spaces when formatting messages
* bot: honour broadcast channels setting when relaying messages too
[ gregor herrmann ]
* kgb.conf(5): improve documentation for server_addr variable.
},
"test" : {
"requires" : {
"Dpkg::Version" : "0",
"File::Remove" : "0",
"Git" : "0",
"SVN::Core" : "0",
"SVN::Fs" : "0",
"SVN::Repos" : "0",
"Test::Compile" : "0",
"Test::Differences" : "0",
"Test::Exception" : "0",
"Test::Perl::Critic" : "0",
"Test::Pod" : "0",
"Test::Pod::Coverage" : "0",
"Test::Simple" : "0.92",
"YAML" : "0",
"autodie" : "0",
"perl" : "5.010"
}
}
author:
- 'KGB authors. See the copyright notices in individual files'
build_requires:
Dpkg::Version: '0'
File::Remove: '0'
Git: '0'
SVN::Core: '0'
SVN::Fs: '0'
SVN::Repos: '0'
Test::Compile: '0'
Test::Differences: '0'
Test::Exception: '0'
Test::Perl::Critic: '0'
Test::Pod: '0'
Test::Pod::Coverage: '0'
Test::Simple: '0.92'
YAML: '0'
autodie: '0'
perl: '5.010'
configure_requires:
Module::Build: '0.40'
t/50-client.t view on Meta::CPAN
use strict;
use warnings;
use autodie qw(:all);
use File::Spec::Functions qw( catdir catfile );
use Test::More;
use Test::Differences;
use lib 't';
use TestBot;
use POSIX qw(setlocale LC_CTYPE);
BEGIN {
eval { require SVN::Core; 1 }
or plan skip_all => "SVN::Core required for testing the Subversion client";
eval { require SVN::Fs; 1 }
or plan skip_all => "SVN::Fs required for testing the Subversion client";
eval { require SVN::Repos; 1 }
t/52-client-git.t view on Meta::CPAN
use lib 't';
use TestBot;
use App::KGB::Change;
use App::KGB::Client::Git;
use App::KGB::Client::ServerRef;
use Git;
use File::Temp qw(tempdir);
use File::Spec;
use Test::Differences;
unified_diff();
use utf8;
my $builder = Test::More->builder;
binmode $builder->output, ":utf8";
binmode $builder->failure_output, ":utf8";
binmode $builder->todo_output, ":utf8";
my $tmp_cleanup = not $ENV{TEST_KEEP_TMP};
t/53-client-git-merges.t view on Meta::CPAN
use strict;
use warnings;
use autodie qw(:all);
use Test::More;
use Test::Differences;
unified_diff();
BEGIN {
eval { require Git; 1 }
or plan skip_all => "Git.pm required for testing Git client";
}
use lib 't';
use TestBot;
t/54-client-git-squash.t view on Meta::CPAN
use strict;
use warnings;
use autodie qw(:all);
use Test::More;
use Test::Differences;
unified_diff();
BEGIN {
eval { require Git; 1 }
or plan skip_all => "Git.pm required for testing Git client";
}
use lib 't';
use TestBot;
t/55-client-git-merges-ff.t view on Meta::CPAN
use strict;
use warnings;
use autodie qw(:all);
use Test::More;
use Test::Differences;
unified_diff();
BEGIN {
eval { require Git; 1 }
or plan skip_all => "Git.pm required for testing Git client";
}
use lib 't';
use TestBot;
t/56-client-git-ff-merge-2.t view on Meta::CPAN
use strict;
use warnings;
use autodie qw(:all);
use Test::More;
use Test::Differences;
unified_diff();
BEGIN {
eval { require Git; 1 }
or plan skip_all => "Git.pm required for testing Git client";
}
use lib 't';
use TestBot;
t/57-client-git-squash-tags.t view on Meta::CPAN
use strict;
use warnings;
use autodie qw(:all);
use Test::More;
use Test::Differences;
unified_diff();
BEGIN {
eval { require Git; 1 }
or plan skip_all => "Git.pm required for testing Git client";
}
use lib 't';
use TestBot;
t/58-client-git-unicode.t view on Meta::CPAN
use lib 't';
use TestBot;
use App::KGB::Change;
use App::KGB::Client::Git;
use App::KGB::Client::ServerRef;
use Encode qw(encode_utf8);
use Git;
use File::Temp qw(tempdir);
use File::Spec;
use Test::Differences;
unified_diff();
use utf8;
my $builder = Test::More->builder;
binmode $builder->output, ":utf8";
binmode $builder->failure_output, ":utf8";
binmode $builder->todo_output, ":utf8";
my $tmp_cleanup = not $ENV{TEST_KEEP_TMP};
t/70-webhook-push.t view on Meta::CPAN
or plan skip_all => "LWP::UserAgent is required for testing webhooks";
}
use lib 't';
use TestBot;
use App::KGB::Change;
use File::Temp qw(tempdir);
use File::Spec;
use JSON qw(to_json);
use Test::Differences;
unified_diff();
use utf8;
my $builder = Test::More->builder;
binmode $builder->output, ":utf8";
binmode $builder->failure_output, ":utf8";
binmode $builder->todo_output, ":utf8";
my $tmp_cleanup = not $ENV{TEST_KEEP_TMP};
t/71-webhook-push_tag.t view on Meta::CPAN
or plan skip_all => "LWP::UserAgent is required for testing webhooks";
}
use lib 't';
use TestBot;
use App::KGB::Change;
use File::Temp qw(tempdir);
use File::Spec;
use JSON qw(to_json);
use Test::Differences;
unified_diff();
use utf8;
my $builder = Test::More->builder;
binmode $builder->output, ":utf8";
binmode $builder->failure_output, ":utf8";
binmode $builder->todo_output, ":utf8";
my $tmp_cleanup = not $ENV{TEST_KEEP_TMP};
t/72-webhook-wiki_page.t view on Meta::CPAN
or plan skip_all => "LWP::UserAgent is required for testing webhooks";
}
use lib 't';
use TestBot;
use App::KGB::Change;
use File::Temp qw(tempdir);
use File::Spec;
use JSON qw(to_json);
use Test::Differences;
unified_diff();
use utf8;
my $builder = Test::More->builder;
binmode $builder->output, ":utf8";
binmode $builder->failure_output, ":utf8";
binmode $builder->todo_output, ":utf8";
my $tmp_cleanup = not $ENV{TEST_KEEP_TMP};
t/73-webhook-issue.t view on Meta::CPAN
or plan skip_all => "LWP::UserAgent is required for testing webhooks";
}
use lib 't';
use TestBot;
use App::KGB::Change;
use File::Temp qw(tempdir);
use File::Spec;
use JSON qw(to_json);
use Test::Differences;
unified_diff();
use utf8;
my $builder = Test::More->builder;
binmode $builder->output, ":utf8";
binmode $builder->failure_output, ":utf8";
binmode $builder->todo_output, ":utf8";
my $tmp_cleanup = not $ENV{TEST_KEEP_TMP};
t/74-webhook-notes.t view on Meta::CPAN
or plan skip_all => "LWP::UserAgent is required for testing webhooks";
}
use lib 't';
use TestBot;
use App::KGB::Change;
use File::Temp qw(tempdir);
use File::Spec;
use JSON qw(to_json);
use Test::Differences;
unified_diff();
use utf8;
my $builder = Test::More->builder;
binmode $builder->output, ":utf8";
binmode $builder->failure_output, ":utf8";
binmode $builder->todo_output, ":utf8";
my $tmp_cleanup = not $ENV{TEST_KEEP_TMP};
t/75-webhook-merge-request.t view on Meta::CPAN
or plan skip_all => "LWP::UserAgent is required for testing webhooks";
}
use lib 't';
use TestBot;
use App::KGB::Change;
use File::Temp qw(tempdir);
use File::Spec;
use JSON qw(to_json);
use Test::Differences;
unified_diff();
use utf8;
my $builder = Test::More->builder;
binmode $builder->output, ":utf8";
binmode $builder->failure_output, ":utf8";
binmode $builder->todo_output, ":utf8";
my $tmp_cleanup = not $ENV{TEST_KEEP_TMP};
t/76-webhook-pipeline.t view on Meta::CPAN
or plan skip_all => "LWP::UserAgent is required for testing webhooks";
}
use lib 't';
use TestBot;
use App::KGB::Change;
use File::Temp qw(tempdir);
use File::Spec;
use JSON qw(to_json);
use Test::Differences;
unified_diff();
use utf8;
my $builder = Test::More->builder;
binmode $builder->output, ":utf8";
binmode $builder->failure_output, ":utf8";
binmode $builder->todo_output, ":utf8";
my $tmp_cleanup = not $ENV{TEST_KEEP_TMP};
t/77-webhook-build.t view on Meta::CPAN
or plan skip_all => "LWP::UserAgent is required for testing webhooks";
}
use lib 't';
use TestBot;
use App::KGB::Change;
use File::Temp qw(tempdir);
use File::Spec;
use JSON qw(to_json);
use Test::Differences;
unified_diff();
use utf8;
my $builder = Test::More->builder;
binmode $builder->output, ":utf8";
binmode $builder->failure_output, ":utf8";
binmode $builder->todo_output, ":utf8";
my $tmp_cleanup = not $ENV{TEST_KEEP_TMP};
t/78-webhook-push-squash.t view on Meta::CPAN
or plan skip_all => "LWP::UserAgent is required for testing webhooks";
}
use lib 't';
use TestBot;
use App::KGB::Change;
use File::Temp qw(tempdir);
use File::Spec;
use JSON qw(to_json);
use Test::Differences;
unified_diff();
use utf8;
my $builder = Test::More->builder;
binmode $builder->output, ":utf8";
binmode $builder->failure_output, ":utf8";
binmode $builder->todo_output, ":utf8";
my $tmp_cleanup = not $ENV{TEST_KEEP_TMP};
t/79-webhook-push-author.t view on Meta::CPAN
or plan skip_all => "LWP::UserAgent is required for testing webhooks";
}
use lib 't';
use TestBot;
use App::KGB::Change;
use File::Temp qw(tempdir);
use File::Spec;
use JSON qw(to_json);
use Test::Differences;
unified_diff();
use utf8;
my $builder = Test::More->builder;
binmode $builder->output, ":utf8";
binmode $builder->failure_output, ":utf8";
binmode $builder->todo_output, ":utf8";
my $tmp_cleanup = not $ENV{TEST_KEEP_TMP};
t/80-webhook-glob-push.t view on Meta::CPAN
or plan skip_all => "LWP::UserAgent is required for testing webhooks";
}
use lib 't';
use TestBot;
use App::KGB::Change;
use File::Temp qw(tempdir);
use File::Spec;
use JSON qw(to_json);
use Test::Differences;
unified_diff();
use utf8;
my $builder = Test::More->builder;
binmode $builder->output, ":utf8";
binmode $builder->failure_output, ":utf8";
binmode $builder->todo_output, ":utf8";
my $tmp_cleanup = not $ENV{TEST_KEEP_TMP};
t/81-webhook-push-tag-only-tag.t view on Meta::CPAN
or plan skip_all => "LWP::UserAgent is required for testing webhooks";
}
use lib 't';
use TestBot;
use App::KGB::Change;
use File::Temp qw(tempdir);
use File::Spec;
use JSON qw(to_json);
use Test::Differences;
unified_diff();
use utf8;
my $builder = Test::More->builder;
binmode $builder->output, ":utf8";
binmode $builder->failure_output, ":utf8";
binmode $builder->todo_output, ":utf8";
my $tmp_cleanup = not $ENV{TEST_KEEP_TMP};