Laravel pipeline build fails everytime - PHPUnit error

Supreeth Basabattini
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
June 10, 2021

PHPUnit 9.5.5 by Sebastian Bergmann and contributors.Test directory "/opt/atlassian/pipelines/agent/build/./tests/Unit" not found

 

Screenshot 2021-06-10 203353.jpg

 

1 answer

1 accepted

2 votes
Answer accepted
Supreeth Basabattini
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
June 10, 2021

Managed to fix it with a little tinkering. Apparently, the Unit folder with a skeleton test class was missing in my tests folder.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events