Two ways to write a test: 1


Two ways to write a test:

1. DRY: reference const that’s used in code
2. Repeat: repeat value that’s used in code

Which do you prefer, and why?

View original on X