CppCon 2020 has ended
Back To Schedule
Monday, September 14 • 13:30 - 14:30
Test Driven C++

Log in to save this to your schedule, view media, leave feedback and see who's attending!

Feedback form is now closed.
We know that testing is important, but writing tests is hard and takes time - and can be demotivating when you want to hack out features.

But what if we flipped the whole thing around? It turns out that by writing tests first the dynamic changes in unexpected ways. Testing becomes easier. Adding features becomes easier. The dopamine hit you get from seeing something work becomes more frequent. Time lost to bugs and regressions virtually disappears. You start to get invited to bigger and better parties!

Ok, one of those statements is not guaranteed - but the rest are! If you've never tried TDD (perhaps you have heard of it but been skeptical), or maybe had a bad experience in the past, this talk will give you a sound intro to how it works, how you can get started, and what you can expect to achieve.

avatar for Phil Nash

Phil Nash

Developer Advocate, SonarSource
Developer Advocate at SonarSource, author of Catch/Catch2, co-host of cpp.chat and No Diagnostic Required, host of C++ London, chair and organiser of C++ on Sea.

Monday September 14, 2020 13:30 - 14:30 MDT
  • Testing