Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How to require integration tests in my bitbucket repo?

We have a small java project which is sometimes run from Maven, sometimes using the IDE's run configurations...

I'd like for each contributor in our repo to not be able to merge code into master that did not pass our simple integration tests.

It doesn't sound like something BitBucket supports but I hope to be pleasantly surprised?
Maybe some test class/tag can be configured in BitBucket and bitbucket runs it and makes sure everything is passing, before allowing a pull request?
Or something like this...

Interested to hear also from the community, what kind of process or "best practice" you have to do this, ideally something automated, because if people are allowed to forget running integration tests then the whole idea is kinda broken :)


1 answer

0 votes

Hi @Todor Kolev ,

I think this is what you are looking for.

Just let me know if I can help you with something else


Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Bitbucket

New improvements to user management in Bitbucket Cloud 👥

Hey Community! We’re willing to wager that quite a few of you not only use Bitbucket, but administer it too. Our team is excited to share that we’ll be releasing improvements throughout this month of...

3,776 views 10 16
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you