If you could only teach one thing about testing what would it be?

Also BDD / TDD criticized

1 Like

Number one advise is: Just do it.
Second advise is (as @csisnett also says) : Start simple.

As many others have noted here, there are tons of approaches to testing. If you’re lucky some of the approaches are spot-on to what you’re doing. If not you need to try some things out, and rework them along the way.

Don’t be afraid to do something wrong. You will get better along the way, so refactor your tests as necessary as well.

If you are working on an existing code base, start with writing tests for new code, or for code-paths that you are most comfortable with. Then let things grow from there.

1 Like