A better pull request
developer.atlassian.com
A better pull request
1–10 of 167 posts
Re: A better pull request
#2Re: A better pull request
#3Re: A better pull request
#4It seems like the example of double fixing the calculation is a great reminder of the value of unit tests. Even if both commits added a unit test in slightly different ways so they didn't conflict, you'd just end up with a failing build and know something got screwed up.
Re: A better pull request
#5It seems like the example of double fixing the calculation is a great reminder of the value of unit tests. Even if both commits added a unit test in slightly different ways so they didn't conflict, you'd just end up with a failing build and know something got screwed up.
But still the test would only fail after the merge, whereas you'd want to catch this before.
Re: A better pull request
#6Re: A better pull request
#7Re: A better pull request
#8Earlier quoted context omitted.
But still the test would only fail after the merge, whereas you'd want to catch this before.
On GitHub you can have tests run before you've merged, so you know whether it's safe or not.