Webinar Preview: “Debugging During Testing” tutorial steps for React+TS+TDD
As a reminder… next Wednesday (Oct 16) I’m giving a webinar on React+TypeScript+TDD in PyCharm. I’m doing some blog posts about material that will be covered.
See the first blog post for some background on this webinar and its topic.
Spotlight: Debugging During Testing
I often speak about “visual debugging” and “visual testing”, meaning, how IDEs can help put these intermediate concepts within reach using a visual UI.
For testing, sometimes our code has problems that require investigation with a debugger. For React, that usually means a trip to the browser to set a breakpoint and use the Chrome developer tools. In Debugging During Testing With NodeJS we show how the IDE’s debugger, combined with TDD, can make this investigation far more productive. In the next step we show how to do so using Chrome as the execution environment.
Here’s the first video:
Then the second step, showing debugging in Chrome:
TDD is a process of exploration, as well as productive way to write code while staying in the “flow”. The debugger helps on both of those and is an essential tool during test writing.