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
Subscribe to Blog updates
Java Best Practices
Good code follows certain rules, and knowing them increases your chances of success. We’d like to share some Java best practices that will help you on your way. We'll cover the must-know tips and tricks, from broad advice on software development to Java- and project-specific know-how. Let's get star…
The New Terminal (Beta) Is Now in JetBrains IDEs
The new terminal (Beta) is now in JetBrains IDEs and will be available in the new UI starting from the 2024.1 version of the IDEs.
‘HelloWorld’ and ‘main()’ meet minimalistic
"Just ignore the terms class, public, static and arg for now; we'll talk about it later". If you have ever mentioned these lines to a new Java student, who is about to execute their first 'HelloWorld' program, know that this is changing. If you are that student, well, congratulations, getting starte…
Easy Hacks: How To Implement Polymorphism in Java
Polymorphism is the ability of an object to take on different forms. In programming, this means that a variable or a method can have different behaviors depending on the type of object it represents. While the term may sound intimidating to beginners, polymorphism is a powerful tool: it helps you re…