The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Fail code pipeline build if code test coverage is under threshold?

Louis Willcock
January 10, 2018

Anyone have a clue on how to get something like this going? I'm running with coverage.py and would like to just get failures if coverage is under certain levels, this is proving to be a bit more of a pain than I had originally thought it would be.

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

0 votes
Michael J Love
February 8, 2019

I will add this for people Googling.

Not sure for python. 
But for php we use:  https://github.com/richardregeer/phpunit-coverage-check

TAGS
AUG Leaders

Atlassian Community Events