Archive for category Testing
FEST-Assert 1.3: Fluent Interface for Assertions
Posted by Alex Ruiz in Java, Open Source, Testing on August 4, 2010
We are proud to announce that FEST-Assert 1.3 is out! FEST-Assert is an “assertThat” library that provides a fluent interface for writing assertions. Its main goal is to improve test code readability and make maintenance of tests easier. Example: int removed = employees.removeFired(); assertThat(removed).isZero(); List newEmployees = employees.hired(TODAY); assertThat(newEmployees).hasSize(6) .contains(frodo, sam); String[] newHires [...]
For Maven Users Only: FEST-Swing 1.2.1 released
Posted by Alex Ruiz in Java, Open Source, Swing, Testing on June 21, 2010
I just uploaded FEST-Swing 1.2.1 to CodeHaus’ Maven repository. This release is targeted to Maven users only. The reason? I made a big mistake when I released FEST-Swing 1.2: I uploaded the wrong version of the dependency FEST-Util, making the Maven version of FEST-Swing completely unusable. Artifacts uploaded to CodeHaus’ Maven repository are automatically uploaded [...]
FEST-Swing 1.2: Swing GUI Testing Made Easy
Posted by Alex Ruiz in Java, Open Source, Swing, Testing on June 2, 2010
I’m proud to announce the release of FEST-Swing 1.2! FEST-Swing is a Java library that provides a fluent interface for functional Swing GUI testing. This library provides an easy-to-use API that makes creation and maintenance of GUI tests easy. Release notes Bug [FEST-341] – Error in ScreenshotOnFailureListener.takeScreenshotAndReturnFileName. Thanks to Grego. [FEST-342] – Javadocs in methods [...]
Making progress on the JavaFX UI testing front
I finally made some progress on FEST-JavaFX! :) The main obstacle was to find a way to look up UI controls on any JavaFX UI. The problem was that all this time I’ve been working with the wrong node hierarchy, Scenario, instead of the JavaFX one! It was impossible to figure out which node corresponds [...]
FEST-Swing 1.2rc: Swing UI Testing Made Easy
I’m proud to announce the release of FEST-Swing 1.2rc! FEST-Swing is a Java library that provides a fluent interface for functional Swing GUI testing. This library provides an easy-to-use API that makes creation and maintenance of GUI tests easy. This is the last release before 1.2 final. If no regressions are found, 1.2rc will be [...]
Improving i18n support in FEST-Swing
Posted by Alex Ruiz in Java, Open Source, Swing, Testing on April 19, 2010
Quick Introduction FEST-Swing is a Java library, released under Apache 2.0 license, that provides a fluent interface for functional Swing GUI testing. Under the covers it uses the AWT Robot to generate native input events, which is the most reliable way to simulate a user interacting with an application (IMHO.) For example, the following code: [...]
When 100% coverage gives us a false sense of security
I use code coverage tools on a regular basis only to ensure that the most complex areas of the code base are properly tested. I tend to bravely fight the temptation to get excited by this metric and waste valuable time adding meaningless tests (e.g. getters and setters) just to keep the numbers going up. [...]
Feedback welcome: session proposals for Agile 2010
Posted by Alex Ruiz in API, Agile, Conference, Testing on February 25, 2010
I just finished writing two proposals for Agile 2010. As usual, I asked my friends for feedback (through Twitter.) Since the conference’s site requires registration and some of my friends don’t have an account, I’m blogging about my proposals, hoping to get some feedback (thanks Jonathan for the suggestion!) As a side (and funny) note, [...]
FEST-Swing 1.2a4: GUI Testing Made Easy
Posted by Alex Ruiz in Java, Open Source, Swing, Testing on January 19, 2010
I’m proud to announce the release of FEST-Swing 1.2a4! FEST-Swing is a Java library that provides a fluent interface for functional Swing GUI testing. This library provides an easy-to-use API that makes creation and maintenance of GUI tests easy. This is the fourth and last alpha release planned for version 1.2. This new release includes [...]
Thoughts about "UI Test Automation Tools are Snake Oil"
Posted by Alex Ruiz in Open Source, Opinion, Testing on January 18, 2010
I just finished reading "UI Test Automation Tools are Snake Oil" by Michael Feathers. Although I agree with many of the ideas in the article, I also think it contains some hasty generalizations and misplaced blame. Mr. Feathers points out that “selling UI test automation tools is irresponsible” and these tools are sold “with a [...]
My name is Alex Ruiz. I'm a programmer with special interest in Java, API design, testing and OOP. I'm the creator of 

