How do we QA code on a separate branch

The Stash info says, for example, "Stash supports popular distributed workflows based on forking or branching, offering users and teams a choice of how to best work with code in a distributed enterprise environment."

We see the advantage to working on new features in a separate branch. What is not clear to me, however, is how a developer's code can be sent to a QA tester if it is off on its own branch.

What am I missing here?

1 answer

1 accepted

Hi George,

I'm afraid the answer to that question will depend on how easy it is to deploy your code to a running server. For example if a QA person can checkout your branch from Git on their machine and run a simple script then that's possibly the easiest way to test a branch. That's certainly what we do on the Stash team. You might also have a CI build that runs on the branch that can deploy to an extra/spare server, possibly in a virtualized environment. At a previous place I've worked we had a limited/specific number of 'testing' branches which could be merged to and deployed automatically for testing before being accepted. Finally, you could also get your developers to run an instance of the server and get QA to test it there, although that might cause bottlenecks in your process.

Having QA test things locally is the ideal solution from my experience, as it gives you the most flexibility and freedom, but may not be possible (or easy) depending on your environment.

I hope that gives you some ideas.

Charles

PS. You might have already seen our documentation around the different Git workflows, but just in case you might be intersted.

Suggest an answer

Log in or Join to answer
Community showcase
Piotr Plewa
Published Dec 27, 2017 in Bitbucket

Recipe: Deploying AWS Lambda functions with Bitbucket Pipelines

Bitbucket Pipelines helps me manage and automate a number of serverless deployments to AWS Lambda and this is how I do it. I'm building Node.js Lambda functions using node-lambda&nbsp...

706 views 0 4
Read article

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot