JOptionPane Popping Up During Unit Tests
This story is the story of good old fashioned decoupling, and an example of Java’s Bridge and Adapter patterns. My client has had a piece of code that for years, yes years, was popping up a java Swing JOptionPane message dialog during unit tests runs in Eclipse (via a Maven plugin) and Eclipse’s JUnit runner. […]