Software Engineering at Google Book Notes
July 1, 2022•767 words
Chapter 12: Unit Testing
#studywithme
Notes
A unit test is maintainable when
they "just work" after writing them
you don't have to think about them until they fail and those failures indicate real bugs
the tests will outlive you.
Unit tests shouldn't change when
there's a refactor
new features are added
there's a bug fix (it's like adding a new feature)
Unit tests should change when
behavior changes
To prevent brittle tests you should
test via public APIs
testi...
Read post