Kyle Pittman
Testing Notes - Table of Contents
cypress
Preserving State
- last modified 8/3/2024
Cypress Retryability
- last modified 8/3/2024
Don’t skip tests without creating a ticket
- last modified 8/3/2024
Exist vs Visible assertions
- last modified 8/3/2024
programming/branching
Simplify branching (if/else)
- last modified 8/3/2024
programming/naming
Don’t shorten names
- last modified 8/3/2024
Don’t suffix names
- last modified 8/3/2024
Don’t use one function when you really need two
- last modified 8/3/2024
programming/parameters
Make function parameters meaningful
- last modified 8/3/2024
programming/strategy
Respect future developers’ time
- last modified 8/3/2024
Do one thing
- last modified 8/3/2024
Code should read like prose - mastering levels of abstraction
- last modified 8/3/2024
Code is not permanent
- last modified 8/3/2024
Making your code readable is as important as making it executable. -
James O. Coplien