PHP Unit Test Plan Failing

skybisadmin November 8, 2017

Hi,

I am creating plan php unit test task. It always getting failed with following error on logs

unrecognized option --log-xml

I have given all parameters except environment variables. Is it mandatory ? I dont have idea about it. Pulling source from repository working successfully.  Can you clarify? 

1 answer

0 votes
Robert W
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
November 8, 2017

Hi Ashwin,

 

This issue looks very similar to another question here in the Community. 

bamboo-build-failing-for-ANT


What is the path to your phpunit capability?

skybisadmin November 14, 2017

Sorry to reply very late. phpunit located in /usr/local/bin/phpunit

I have fixed it. I have installed codecoverage, xdebug.

Now getting this error 

No whitelist configured, no code coverage will be generated

Where should I add whitelist settings

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events