Bob Fornal!

Senior Solutions Developer with Leading EDJE: Husband, father, and programmer

Bio!
My focus is on front-end development: * JavaScript * CSS * SVG * AngularJS and Angular * React * Ionic "Learning from my mistakes over the decades, I feel that I have become a solid programmer." -- Me
Session!

What to Avoid When Writing Unit Tests


“These tests should never have been written. They provide no or little value.” -ME Testing code as 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
Where/When?

Time: 11:00 AM

Room: DMG (Live 16 - Simul 21)