swingunit

swingunit: SwingUnit

No more XY coordination in screen testing!

SwingUnit is a unit test automation toolkit for Java Swing application. It works just like ‘tiny macro’ or ‘script’ for Swing Application. Using SwingUnit in combination with JUnit you can run test scenario automatically, and you can use many JUnit supporting tools. The structure of a test scenario XML file is simple. See the example.

Unit testing Swing components – impossible?

Duffblog 2.0: Unit testing Swing components – impossible?

Unit testing Swing components – impossible?

Testing Swing components seems to fill many developers with fear. “How can I unit test this thing?" they often ask, “it’s full of icky event handling code and troublesome painting…".

Frameworks such as Abbot are often the solution developers find for this problem. Essentially, many developers abandon the idea of writing regular unit tests for Swing components, and resort to “click simulators" which are frequently functional tests rather than unit tests.

Setting up Linux Software RAID on CentOS

Linux Software RAID on CentOS 4.x

Setting up Linux Software RAID on CentOS

* * RAID is not a substitute for data backups! Always backup your data! * *

This document describes how to configure your system for Software RAID1 (mirroring) during the CentOS 4.x clean install. We will mirror data between two hard drives to prevent data loss in the event of a single hard drive failure.

The first section shows how to do a basic setup without LVM. The second section shows how to do LVM on top of software RAID.