-
Notifications
You must be signed in to change notification settings - Fork 107
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Include unit tests for micro services #624
Conversation
Let's merge them to |
I am not sure I follow why this would go to |
For failing tests, my preference would be to either fix them or delete them entirely. Disabling is usually the worst option. |
We have an issue added here to address the broken unit test. If the question is about dead code (commented out unit test), I can swing either way. |
If the logged issue will be picked up in the current or next sprint, then we can leave as is, otherwise would prefer they be deleted. |
How did we test these changes? Did they go into any of the feature branch (new is fine too) and got validated? We'll need to avoid merging changes to |
This PR is only for integrating and fixing unit tests. By design unit tests don't need the full stack to come up (except for when you are refactoring the code against which the unit tests are running, which isn't the case here). The validation was done locally as well as by travis as part of the PR. |
Is this a new policy change that all changes have to go through a non-master branch? #582 |
There is no policy change. This is the development workflow that this project follows. And, like any others, there can be exceptions like fixing high priority security vulnerabilities in code flagged by Github or hot-fixes that can't wait for the entire development lifecycle to complete. Fixing unit tests doesn't belong to this category. Changes in #582 are tested in the daily stack. |
Description of the Change
Include unit tests for micro services so that they run as part of the PR process. Also fixed broken unit tests.
Benefits
Catch issues early during the review process.
Possible Drawbacks
Time for automated PR checks will increase
Applicable Issues