Archive for category Testing

FEST-Assert 1.3: Fluent Interface for Assertions

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 [...]

, , , ,

3 Comments

For Maven Users Only: FEST-Swing 1.2.1 released

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 [...]

, , , ,

4 Comments

FEST-Swing 1.2: Swing GUI Testing Made Easy

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 [...]

, , , , ,

2 Comments

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 [...]

, , ,

3 Comments

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 [...]

, , , ,

1 Comment

Improving i18n support in FEST-Swing

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: [...]

, , ,

4 Comments

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. [...]

, ,

16 Comments

Feedback welcome: session proposals for Agile 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, [...]

, , , , , ,

No Comments

FEST-Swing 1.2a4: GUI Testing Made Easy

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 [...]

, , , ,

2 Comments

Thoughts about "UI Test Automation Tools are Snake Oil"

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 [...]

,

No Comments