Why Good Developers Write Bad Tests2:00pm - 2:25pm on Friday, October 4 in PennTop North
Most developers still approach tests with the same old techniques they use for production code. But test code is not like other code. To write it well, we need to reexamine the principles and goals that define our best practices.
In this talk, I’ll discuss:
- What separates good tests from bad ones
- Why you should think twice before refactoring test functions
- How to identify anti-patterns in tests that hide bugs
- Why your test names are probably too short
- Why you should embrace magic numbers