
Writing Change-Proof Software with Tests - JSJ 555
JavaScript Jabber
00:00
How to Write an End to End Test in TDD?
The approach I'm using is very similar to the approach in that book that we talked about earlier, Goose. So you start every test is a black box test and every test knows nothing about the implementation of the system that it tests. For instance, my end to end test doesn't know that my system uses React or Firebase. It just goes to local host port 8080 and expects there to be an HTML page. But it knows nothing about implementation. And when I write the next tests, they're not going to be end to end tests anymore. They're going to be tests in a more deeper layer of the system. The second test is is much more specific. So it can
Transcript
Play full episode