Developer: “YESSS! My world-class widget test is ready to run.” (runs the test) Debug Console: “Expected to see 1 widget, found none.” Developer: What! Why, why, why!!! (figures out all async calls in the widget; spends 4Â hours re-reading about widget testing, exploring the source code of WidgetTester.pump()Â and setting up mock classes using Mockito.) Developer: “Muwaha […]
Tag: unit-testing
Creating a Java 10 project in IntelliJ IDEA with JUnit 5 and Gradle support
Posted on under Coding & Tech — Leave a commentIntelliJ IDEA is a free and open-source (yay!) IDE for Java development. It’s a huge-huge-huge improvement over the slow and ageing Eclipse. Recently, I wanted to do some programming practice, so I thought why not in Java. I started by writing my code in good ol’ Notepad++. Very soon I reminded myself about my TDD […]