
Writing (really) good tests with Markus Oberlehner
PodRocket - A web development podcast from LogRocket
00:00
How to Write a Test First in Test-Driven Development
When starting out, it seems kind of impossible to write a test for something that isn't there yet. But if you think about the problem like the consumer of whatever you build and not of the one who builds it, then we can start singing. So instead of focusing so much on unit tests, when thinking about react and view applications, then it gets a lot easier to think about writing tests first. We know how a certain feature should work but otherwise we wouldn't be able to start implementing it at all.
Transcript
Play full episode