Join us for friends, food, and geekery as Bob Fornal presents What to Avoid When Writing Unit Test. Food and drinks provided complements of Improving. Doors open at 6:30. Talky talk starts at 7:00.

What to Avoid When Writing Unit Tests
“These tests should never have been written. They provide no or little value.” —ME

Testing code has been described as an “art form.” It is, but it should not be. There are many good patterns that should be followed when writing tests. There is even a lifecycle of tests that should be paid some attention. There are also many BAD patterns that developers should be aware of so that they can be avoided (or cleaned up).

This session will provide a series of examples of bad front-end tests and how to write them correctly.

  • Tests Should Not Be “Well-Factored”
  • Keep The Reader In The Test
  • Violate The DRY Principle
  • Testing Too Much
  • Duplication Of Code Logic
  • Bad Test Double
  • Testing The Mock
  • False Positives
  • Testing Private Functionality Directly
  • Excessive Setup

October 5


06:30 pm - 09:00 pm

Click to Register:

TechLife Columbus

Email: Website:


One Easton Oval Suite. 175

Columbus, OH, US, 43219