JetBrains Technology Day for Java – Bootiful Testing
On the 10th July 2020, JetBrains hosted a Technology Day for Java. We had 10 presentations and the videos for them are available here. Over the coming weeks, in no particular order, we’d like to share with you extra resources that our speakers kindly provided and any links to further reading or code samples.
We hosted Josh Long talking to us about Test Driven Development (TDD) and the confidence it brings you in knowing that you’re building the right thing according to the requirements. Josh showed us how we can use TDD in an incremental way to build our confidence and work faster with our new found skills.
Josh looked at testing basic components, mocks, how to take advantage of test slices, and how to test web applications. We also looked at how to ensure that API producers and API consumers work well together using consumer driven contract testing (CDCT) without sacrificing the testing pyramid for end-to-end integration tests.
I love watching, and have the utmost respect for anyone who delivers any amount of live coding, and this was a masterclass in it. My biggest takeaways were:
- Red-Green coding is a Good Thing
- Only write as much production code as you need to make the test work
- Learn from the cycle time (go quickly and safely – and then learn from it)
Code from the session
What our audience thought of Josh’s presentation
— Marit van Dijk (@MaritvanDijk77) July 10, 2020
During the #JetBrainsLovesJava “JetBrains Technology Day for Java” @starbuxman didn’t just demonstrate “Bootiful Testing”, he showed it live how to do TDD. Very insightful @trisha_gee @eMalaGupta @jetbrains @intellijidea. Watch all sessions here https://t.co/zxyN1cGb5k
— Pat Wanjau (@patwanjau) July 11, 2020
— Austine Gwa (@AustineGwa) July 10, 2020