I’m completely new to TDD, so forgive my noobishness.
I’m working on app right now that I know will need validations. Would writing a failing test for a validation, then making it green by adding the validation be the proper approach?
As I write it, it seems like the obvious answer (based on my basic understanding of TDD) is yes, but I wanted to be sure. I’m constantly fighting with myself to kick my bad habits and embrace the TDD approach - so convincing myself to not fix X bug with 1 line of code but instead write a failing test is something I’m running into a lot.