Archive for July, 2009

Reorganizing long test classes

For the next release of FEST-Swing, the number of automated tests has increased considerably: from 2,677 to 3,000+ (and counting!) Special attention has been paid to the quality of the tests: DRY and readable code, meaningful assertions, and proper naming. Tests are treated with the same TLC (Tender Loving Care) as the rest of the [...]

, , ,

8 Comments

A couple of lessons I learned about API design

One of the reasons I work on open source is to become a better programmer. Learning opportunities come from different sources, being practice the more obvious one. In the last couple of weeks I learned two important lessons about API design not by practicing my craft, but from listening to our users. What I learned [...]

, , ,

13 Comments

Writing EDT-safe Swing UI tests

Lately, I noticed that one of the main topics in the FEST mailing list is violation of Swing’s threading policy in UI tests. Surprisingly, this subject is not really referenced directly. Most of the time, it appears in the form of questions, code snippets or test cases not related to Swing threading at all. It [...]

, , ,

14 Comments