Questions tagged [tap-harness]
15 questions
5
votes
1 answer
Trouble building TAP::Formatter::HTML on Windows
My cpanTAP::Formatter::HTML installation hangs at 01_basic.t and I'm not sure why:
CPAN.pm: Going to build S/SP/SPURKIS/TAP-Formatter-HTML-0.09.tar.gz
# running Build.PL --installdirs site
Set up gcc environment - 3.4.5 (mingw-vista special…

Zaid
- 36,680
- 16
- 86
- 155
4
votes
1 answer
TAP::Harness timing issue with TAP::Formatter::JUnit
I have a set of scripts that produces a JUnit output for Jenkins.
The code I execute looks like this (this is just a snippet so you get the idea) :
#!/usr/bin/env perl …

peroumal1
- 266
- 1
- 3
- 5
4
votes
1 answer
Timing out tests in a Perl test harness
How could I time out hanging tests in a Perl test harness?
I tried using the Test::Timer module, but I can't seem to make it link up nicely with the TAP::Harness in order to have an embedded timeout function for each test. Plus, I don't want to…

Cristian Vasile
- 101
- 4
3
votes
0 answers
How can I optimize the end of done_testing in TAP and the evaluation of the results in a test in perl?
We have a project where we run a couple of tests with a duration of around 3 hours. And I have observed that a lot of minutes are lost in the step of generation the results. For example:
I have this script harness.pl
use strict;
use…

nck
- 1,673
- 16
- 40
2
votes
1 answer
Invalid kubernetes YAML spec , failed to load spec for resource harness
I have harness and kubernetes hooked up and i am able to deploy nginx chart using helm succesfully.
Now i have another helm chart that I want to deploy but when i do so in harness, it fails during the helm deployment phase
“Invalid kubernetes YAML…

G T
- 29
- 2
2
votes
0 answers
Jenkins Console Output not flushing line-by-line, although script flushes in local console
I am using Jenkins with Perl TAP::Harness::JUnit with multimple testscripts. I can't get Jenkins to flush to console before one testscript is finished. It just buffers the whole test suite and flushes it all at once when it's done. I get instances…

Cristian Vasile
- 101
- 4
1
vote
0 answers
perl script get stuck before creating Junit xml using TAP::Harness::JUnit
I really need your help.
I have a main script that uses TAP::Harness::JUnit for running my tests. Usually all tests runs and the xml created successfully. but when I'm trying to run a certain test (called big_test) with a big output data, after the…

user1836185
- 121
- 2
- 8
1
vote
2 answers
handle tests using TAP::Harness, how to print output when test exits
I am trying the whole day to find out the answer, but I didn't find anything.
I wrote some tests using test::more (test1.t, test2.t, test3.t ...).
and I wrote a main perl script (main.pl) that handles all the tests using TAP::Harness and print the…

user1836185
- 121
- 2
- 8
1
vote
0 answers
Specifying TAP:harness global parameters
I'm writing several tests using TAP::harness (and new to it) to run under Jenkins. In the process of writing these tests, I want to initially be able to run then from the command line and specify some additional parameters.
For example, one of…

wdtj
- 4,554
- 3
- 17
- 20
1
vote
1 answer
Trouble mixing TAP::Harness constructor args
It looks like some of the TAP::Harness (v3.23) constructor args don't like to play together.
When I try to specify the formatter arg along with verbosity or color args, the module complains about the latter two being unrecognized. When I comment it…

Zaid
- 36,680
- 16
- 86
- 155
0
votes
0 answers
Push Zip File created in Pipeline to ACR
I Created a pipeline in Harness where I need to push the zip file which is created through Maven and that zip file needs to be uploaded to ACR through Shell Script.
I don't want to use Dockerfile or docker build since the build is already done…
0
votes
1 answer
Unable to generate query to fetch jenkins job for a given execution with Harness
Can someone please help me out in generating a GraphQL Query for fetching the details of Jenkins Job URL added at a verify stage under Deployment Phases in a given workflow?
Below is the documentation for the…

Bipin Kumar Chaurasia
- 372
- 1
- 13
0
votes
1 answer
How to integrate Harness CCM with Datadog
Currently I have setup a Connector for my Azure Account for cost analysis on Harness CCM portal. We have limited access to Harness So wanted to integrate this with Datadog where we have access to larger number of audience in our organization.
How…

Rajasekhar M
- 17
- 3
0
votes
1 answer
What is the significance of the wait status in TAP?
This is a question more for my understanding than anything else. I'm using Test::More to run some tests via TAP::Harness.
When a test runs, it returns an exit code and a wait code.
The exit code is designed to return non-zero upon failure, as per…

Zaid
- 36,680
- 16
- 86
- 155
-1
votes
1 answer
Getting individual results of aggregated TAP output from TAP::Harness
I'm running some tests via TAP::Harness and now I'm trying to get all the individual results from the TAP parser. What I do is first run the tests:
my $harness = TAP::Harness->new( { verbosity => 1, lib => [ 'blib/lib' ] } );
my $aggregator =…

friedo
- 65,762
- 16
- 114
- 184