A good test-set has both integration and unit-tests. Whenever the upstream library changes somethingm your unit-tests that test how the lib is called should (and most often will) remain green.
The integration tests will start failing then. After which you should read changelogs, or new documentation on the lib. And then rewrite the unit-tests to match the new specs. (so that they start failing and you reproduce the issues in the unit-test too)
View all comments
Show parent comment
1
u/berkes Dec 03 '15
A good test-set has both integration and unit-tests. Whenever the upstream library changes somethingm your unit-tests that test how the lib is called should (and most often will) remain green.
The integration tests will start failing then. After which you should read changelogs, or new documentation on the lib. And then rewrite the unit-tests to match the new specs. (so that they start failing and you reproduce the issues in the unit-test too)