Skip to content

I have a question concerning "Work has automated testing before merge to trunk" #377

Answered by bdfinst
WoodyB asked this question in Q&A
Discussion options

You must be logged in to vote

If we are doing CI correctly, we do not push untested code. The CI server needs the test to validate that nothing is broken, and without the tests, we have no way to protect production from bad code.

So, while someone may decide to:

  • write code
  • push it to a branch
  • write tests, push those
  • merge the branch

That workflow is catastrophic for mainline development.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by bdfinst
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants