branching strategy in your company

Our test framework is separate repo from the
application code repo. Automation framework 
has a smaller code base, and fewer people are involved.
so we do not have a very complicated branching strategy
	We have master and develop branches(buffer branch)
    in our automation framework repository.
    Once I have a story from jira, I create a
    new branch from the develop branch with the
    issue number of my jira story and check out.
	git branch <branchName>
	git checkout -b vyt-59I 
	write my automated tests on this branch.
    Once completed, I create a pull request 
    so that my code can be reviewed. Once my 
    team reviews the code, my branch is merged into develop.  
	After code is merged, I delete the branch. 
	git branch -d <branch_name>
	Then get another story from jira, 
    create new branch for that one ... 
	At the end of every sprint, (or quarter)
    we merge with master. 
	My daily automated smoke 
    from Jenkins runs against the master branch. 
	Master branch is stable since 
    we only merge into with once a sprint.

4.67
6
EPH 105 points

                                    Our test framework is separate repo from the
application code repo. Automation framework 
has a smaller code base, and fewer people
are involved. so we do not have a very 
complicated branching strategy
We have master and develop branches(buffer branch)
in our automation framework repository.
Once I have a story from jira, I create
a new branch from the develop branch with
the issue number of my jira story and check out.
git branch &lt;branchName&gt;
git checkout -b vyt-59I 
write my automated tests on this branch.
Once completed, I create a pull request
so that my code can be reviewed. Once my team
reviews the code, my branch is merged into develop.  
After code is merged, I delete the branch. 
git branch -d &lt;branch_name&gt;
Then get another story from jira, create
new branch for that one ... At the end of every
sprint, (or quarter) we merge with master. 
My daily automated smoke from Jenkins runs 
against the master branch. 
Master branch is stable since we only
merge into with once a sprint.

4.67 (6 Votes)
0
4.11
9
CharlieATX 100 points

                                    Our test framework is separate repo from the
application code repo. Automation framework 
has a smaller code base, and fewer people
are involved. so we do not have a very 
complicated branching strategy
We have master and develop branches(buffer branch)
in our automation framework repository.
Once I have a story from jira, I create
a new branch from the develop branch with
the issue number of my jira story and check out.
git branch &lt;branchName&gt;
git checkout -b vyt-59I 
write my automated tests on this branch.
Once completed, I create a pull request
so that my code can be reviewed. Once my team
reviews the code, my branch is merged into develop.  
After code is merged, I delete the branch. 
git branch -d &lt;branch_name&gt;
Then get another story from jira, create
new branch for that one ... At the end of every
sprint, (or quarter) we merge with master. 
My daily automated smoke from Jenkins runs 
against the master branch. 
Master branch is stable since we only
merge into with once a sprint.

4.11 (9 Votes)
0
Are there any code examples left?
Made with love
This website uses cookies to make IQCode work for you. By using this site, you agree to our cookie policy

Welcome Back!

Sign up to unlock all of IQCode features:
  • Test your skills and track progress
  • Engage in comprehensive interactive courses
  • Commit to daily skill-enhancing challenges
  • Solve practical, real-world issues
  • Share your insights and learnings
Create an account
Sign in
Recover lost password
Or log in with

Create a Free Account

Sign up to unlock all of IQCode features:
  • Test your skills and track progress
  • Engage in comprehensive interactive courses
  • Commit to daily skill-enhancing challenges
  • Solve practical, real-world issues
  • Share your insights and learnings
Create an account
Sign up
Or sign up with
By signing up, you agree to the Terms and Conditions and Privacy Policy. You also agree to receive product-related marketing emails from IQCode, which you can unsubscribe from at any time.
Creating a new code example
Code snippet title
Source