Skip to content

Commit

Permalink
Build results of dbc6cbf (on master)
Browse files Browse the repository at this point in the history
  • Loading branch information
teodesian committed Jun 7, 2017
1 parent 3e5a6d5 commit 9226766
Show file tree
Hide file tree
Showing 25 changed files with 130 additions and 110 deletions.
9 changes: 8 additions & 1 deletion Changes
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
Revision history for Perl module TestRail::API

0.040 2017-04-27 TEODESIAN
0.041 2017-06-06 TEODESIAN
- Fix MCE usage issue with confusion based on array -> hash inputs in TestRail::Utils::Find
- Fix issue where Test plans were not recorded in the raw output of a case.
- Add ability to specify a custom status for failures which emit no test plan
- Change tests which emit a plan but no assertions into failures.
- Fix issue where configuration groups in the testrailrc were ignored

0.040 2017-05-24 TEODESIAN
- Fix performance issue in TestRail::Utils::Find::FindTests
- Fix strange testsuite bug caused by regressions in MCE
- Allow filtering in TestRail::API::getPlans
Expand Down
1 change: 0 additions & 1 deletion MANIFEST
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ META.yml
Makefile.PL
README
SIGNATURE
TestRail-API-0.040/.travis.yml
bin/testrail-bulk-mark-results
bin/testrail-cases
bin/testrail-lock
Expand Down
18 changes: 9 additions & 9 deletions META.json
Original file line number Diff line number Diff line change
Expand Up @@ -101,35 +101,35 @@
"provides" : {
"App::Prove::Plugin::TestRail" : {
"file" : "lib/App/Prove/Plugin/TestRail.pm",
"version" : "0.040"
"version" : "0.041"
},
"Test::Rail::Harness" : {
"file" : "lib/Test/Rail/Harness.pm",
"version" : "0.040"
"version" : "0.041"
},
"Test::Rail::Parser" : {
"file" : "lib/Test/Rail/Parser.pm",
"version" : "0.040"
"version" : "0.041"
},
"TestRail::API" : {
"file" : "lib/TestRail/API.pm",
"version" : "0.040"
"version" : "0.041"
},
"TestRail::Utils" : {
"file" : "lib/TestRail/Utils.pm",
"version" : "0.040"
"version" : "0.041"
},
"TestRail::Utils::Find" : {
"file" : "lib/TestRail/Utils/Find.pm",
"version" : "0.040"
"version" : "0.041"
},
"TestRail::Utils::Lock" : {
"file" : "lib/TestRail/Utils/Lock.pm",
"version" : "0.040"
"version" : "0.041"
},
"TestRail::Utils::Results" : {
"file" : "lib/TestRail/Utils/Results.pm",
"version" : "0.040"
"version" : "0.041"
}
},
"release_status" : "stable",
Expand All @@ -145,7 +145,7 @@
"web" : "https://github.com/teodesian/TestRail-Perl"
}
},
"version" : "0.040",
"version" : "0.041",
"x_contributors" : [
"Mohammad S Anwar <mohammad.anwar@yahoo.com>",
"Neil Bowers <neil@bowers.com>"
Expand Down
18 changes: 9 additions & 9 deletions META.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,28 +30,28 @@ name: TestRail-API
provides:
App::Prove::Plugin::TestRail:
file: lib/App/Prove/Plugin/TestRail.pm
version: '0.040'
version: '0.041'
Test::Rail::Harness:
file: lib/Test/Rail/Harness.pm
version: '0.040'
version: '0.041'
Test::Rail::Parser:
file: lib/Test/Rail/Parser.pm
version: '0.040'
version: '0.041'
TestRail::API:
file: lib/TestRail/API.pm
version: '0.040'
version: '0.041'
TestRail::Utils:
file: lib/TestRail/Utils.pm
version: '0.040'
version: '0.041'
TestRail::Utils::Find:
file: lib/TestRail/Utils/Find.pm
version: '0.040'
version: '0.041'
TestRail::Utils::Lock:
file: lib/TestRail/Utils/Lock.pm
version: '0.040'
version: '0.041'
TestRail::Utils::Results:
file: lib/TestRail/Utils/Results.pm
version: '0.040'
version: '0.041'
requires:
Carp: '0'
Clone: '0'
Expand Down Expand Up @@ -91,7 +91,7 @@ resources:
bugtracker: https://rt.cpan.org/Public/Dist/Display.html?Name=TestRail-API
homepage: https://github.com/teodesian/TestRail-Perl
repository: git://github.com/teodesian/TestRail-Perl.git
version: '0.040'
version: '0.041'
x_contributors:
- 'Mohammad S Anwar <mohammad.anwar@yahoo.com>'
- 'Neil Bowers <neil@bowers.com>'
Expand Down
2 changes: 1 addition & 1 deletion Makefile.PL
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ my %WriteMakefileArgs = (
"Test::More" => 0,
"blib" => "1.01"
},
"VERSION" => "0.040",
"VERSION" => "0.041",
"test" => {
"TESTS" => "t/*.t"
}
Expand Down
2 changes: 1 addition & 1 deletion README
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@


This archive contains the distribution TestRail-API,
version 0.040:
version 0.041:

Provides an interface to TestRail's REST api via HTTP

Expand Down
41 changes: 0 additions & 41 deletions TestRail-API-0.040/.travis.yml

This file was deleted.

4 changes: 2 additions & 2 deletions bin/testrail-bulk-mark-results
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# PODNAME: TestRail::Bin::BulkMarkResults

package TestRail::Bin::BulkMarkResults;
$TestRail::Bin::BulkMarkResults::VERSION = '0.040';
$TestRail::Bin::BulkMarkResults::VERSION = '0.041';
use strict;
use warnings;
use utf8;
Expand Down Expand Up @@ -87,7 +87,7 @@ TestRail::Bin::BulkMarkResults - Bulk mark entire runs/plans (or groups of tests
=head1 VERSION
version 0.040
version 0.041
=head1 DESCRIPTION
Expand Down
4 changes: 2 additions & 2 deletions bin/testrail-cases
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# PODNAME: TestRail::Bin::Cases

package TestRail::Bin::Cases;
$TestRail::Bin::Cases::VERSION = '0.040';
$TestRail::Bin::Cases::VERSION = '0.041';
use strict;
use warnings;
use utf8;
Expand Down Expand Up @@ -99,7 +99,7 @@ TestRail::Bin::Cases - get information about cases inside various testsuites/sec
=head1 VERSION
version 0.040
version 0.041
=head1 SYNOPSIS
Expand Down
4 changes: 2 additions & 2 deletions bin/testrail-lock
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# PODNAME: TestRail::Bin::Lock

package TestRail::Bin::Lock;
$TestRail::Bin::Lock::VERSION = '0.040';
$TestRail::Bin::Lock::VERSION = '0.041';
use strict;
use warnings;
use utf8;
Expand Down Expand Up @@ -78,7 +78,7 @@ TestRail::Bin::Lock - Lock a test in a TestRail, and return the test name if suc
=head1 VERSION
version 0.040
version 0.041
=head1 SYNOPSIS
Expand Down
4 changes: 2 additions & 2 deletions bin/testrail-report
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# PODNAME: TestRail::Bin::Report

package TestRail::Bin::Report;
$TestRail::Bin::Report::VERSION = '0.040';
$TestRail::Bin::Report::VERSION = '0.041';
use strict;
use warnings;

Expand Down Expand Up @@ -123,7 +123,7 @@ TestRail::Bin::Report - Upload your TAP results to TestRail after they've finish
=head1 VERSION
version 0.040
version 0.041
=head1 SYNOPSIS
Expand Down
4 changes: 2 additions & 2 deletions bin/testrail-results
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# PODNAME: TestRail::Bin::Results

package TestRail::Bin::Results;
$TestRail::Bin::Results::VERSION = '0.040';
$TestRail::Bin::Results::VERSION = '0.041';
use strict;
use warnings;
use utf8;
Expand Down Expand Up @@ -343,7 +343,7 @@ TestRail::Bin::Results - List results for specified test(s).
=head1 VERSION
version 0.040
version 0.041
=head1 SYNOPSIS
Expand Down
4 changes: 2 additions & 2 deletions bin/testrail-runs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# PODNAME: TestRail::Bin::Runs

package TestRail::Bin::Runs;
$TestRail::Bin::Runs::VERSION = '0.040';
$TestRail::Bin::Runs::VERSION = '0.041';
use strict;
use warnings;
use utf8;
Expand Down Expand Up @@ -71,7 +71,7 @@ TestRail::Bin::Runs - List runs in a TestRail project matching the provided filt
=head1 VERSION
version 0.040
version 0.041
=head1 SYNOPSIS
Expand Down
4 changes: 2 additions & 2 deletions bin/testrail-tests
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# PODNAME: TestRail::Bin::Tests

package TestRail::Bin::Tests;
$TestRail::Bin::Tests::VERSION = '0.040';
$TestRail::Bin::Tests::VERSION = '0.041';
use strict;
use warnings;
use utf8;
Expand Down Expand Up @@ -82,7 +82,7 @@ TestRail::Bin::Tests - List tests in a TestRail run matching the provided filter
=head1 VERSION
version 0.040
version 0.041
=head1 SYNOPSIS
Expand Down
8 changes: 5 additions & 3 deletions lib/App/Prove/Plugin/TestRail.pm
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# PODNAME: App::Prove::Plugin::TestRail

package App::Prove::Plugin::TestRail;
$App::Prove::Plugin::TestRail::VERSION = '0.040';
$App::Prove::Plugin::TestRail::VERSION = '0.041';
use strict;
use warnings;
use utf8;
Expand Down Expand Up @@ -55,7 +55,8 @@ sub load {
$ENV{'TESTRAIL_SECTIONS'} = $params->{sections};
$ENV{'TESTRAIL_AUTOCLOSE'} = $params->{autoclose};
$ENV{'TESTRAIL_ENCODING'} = $params->{encoding};
$ENV{'TESTRIAL_CGROUP'} = $params->{'configuration_group'};
$ENV{'TESTRAIL_CGROUP'} = $params->{'configuration_group'};
$ENV{'TESTRAIL_TBAD'} = $params->{'test_bad_status'};
return $class;
}

Expand All @@ -73,7 +74,7 @@ App::Prove::Plugin::TestRail - Upload your TAP results to TestRail in realtime
=head1 VERSION
version 0.040
version 0.041
=head1 SYNOPSIS
Expand Down Expand Up @@ -104,6 +105,7 @@ If \$HOME/.testrailrc exists, it will be parsed for any of these values in a new
autoclose=0
encoding=UTF-8
configuration_group=Operating Systems
test_bad_status=blocked
Note that passing configurations as filters for runs inside of plans are separated by colons.
Expand Down
13 changes: 7 additions & 6 deletions lib/Test/Rail/Harness.pm
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# ABSTRACT: TestRail testing harness
# PODNAME: Test::Rail::Harness
package Test::Rail::Harness;
$Test::Rail::Harness::VERSION = '0.040';
$Test::Rail::Harness::VERSION = '0.041';
use strict;
use warnings;

Expand Down Expand Up @@ -35,10 +35,11 @@ sub make_parser {
$args->{'configs'} = \@configs if scalar(@configs);
$args->{'result_options'} = { 'version' => $ENV{'TESTRAIL_VERSION'} }
if $ENV{'TESTRAIL_VERSION'};
$args->{'step_results'} = $ENV{'TESTRAIL_STEPS'};
$args->{'testsuite_id'} = $ENV{'TESTRAIL_SPAWN'};
$args->{'testsuite'} = $ENV{'TESTRAIL_TESTSUITE'};
$args->{'config_group'} = $ENV{'TESTRAIL_CGROUP'};
$args->{'step_results'} = $ENV{'TESTRAIL_STEPS'};
$args->{'testsuite_id'} = $ENV{'TESTRAIL_SPAWN'};
$args->{'testsuite'} = $ENV{'TESTRAIL_TESTSUITE'};
$args->{'config_group'} = $ENV{'TESTRAIL_CGROUP'};
$args->{'test_bad_status'} = $ENV{'TESTRAIL_TBAD'};

@sections = split( /:/, $ENV{'TESTRAIL_SECTIONS'} )
if $ENV{'TESTRAIL_SECTIONS'};
Expand Down Expand Up @@ -80,7 +81,7 @@ Test::Rail::Harness - TestRail testing harness
=head1 VERSION
version 0.040
version 0.041
=head1 DESCRIPTION
Expand Down

0 comments on commit 9226766

Please sign in to comment.