Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8184743
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T01:36:32+00:00 2026-06-07T01:36:32+00:00

I have a jenkins setup that runs some unit tests with PHPUnit. I would

  • 0

I have a jenkins setup that runs some unit tests with PHPUnit.

I would like each unit testcase to be saved as a separate tap result file.

E.g. the results of testOneTest.php and testTwoTest.php will be saved as testOneTest.tap and testTwoTest.tap respectively. This presents build results much better in the Jenkins UI.

I have defined an XML configuration file for PHPUnit, but from the documentation, I can only see the option to save as a single tap result file:

<log type="tap" target="/tmp/logfile.tap"/>

Is it possible to save multiple TAP results?
Cheers.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-07T01:36:34+00:00Added an answer on June 7, 2026 at 1:36 am

    If you’re using XML configuration files, just create two different configuration files with different output names. Depending on how you invoke phpunit, then it could look like this:

    1> phpunit -c /your/xml/configfile1.xml testOneTest.php
    2> phpunit -c /your/xml/configfile2.xml testTwoTest.php
    

    You also could just give the output parameter to phpunit:

    1> phpunit --log-tap /tmp/logfile1.tap testOneTest.php
    2> phpunit --log-tap /tmp/logfile2.tap testTwoTest.php 
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a Jenkins (Hudson) server setup that runs tests on a variety of
I have three jobs that I would like to serialize in Jenkins. They should
For some reason I have to access Jenkins global environment variables like BUILD ID,
I have a bare-bones install of jenkins on my Ubuntu server that I installed
I have a project that I've added to my Jenkins server. The project includes
I have a Git repository that contains a bunch of top-level maven projects (each
We're trying to setup Jenkins, but we are having a couple issues. We have
I have integrated Jenkins to C unit test library and I am parsing the
My end goal is to have Selenium running 'within' Jenkins. My Jenkins installation runs
In a maven project I have some junit tests where I need to refer

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.