Forums

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

How to require integration tests in my bitbucket repo?

Deleted user January 5, 2021

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 :)

Thanks

1 answer

0 votes
Joao Sgreccia
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
January 11, 2021

Hi @[deleted] ,

I think this is what you are looking for.

https://bitbucket.org/blog/protect-your-master-branch-with-merge-checks

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

Cheers

Suggest an answer

Log in or Sign up to answer
TAGS
atlassian, jira cloud certification, managing jira projects, jira project administration, jira cloud exam, atlassian certification, agile project management, jira workflows, jira permissions, jira training, jira cloud skills, atlassian learning

Become a Certified Jira Service Project Expert 🦸🏻‍♂️

Validate your expertise in managing Jira Service Projects for Cloud. Master configuration, optimize workflows, and manage users seamlessly. Earn global 🗺️ recognition and advance your career as a trusted Jira Service management expert.

Get Certified! ✍️
AUG Leaders

Atlassian Community Events