/testable-swing

TDD friendly Java Swing show case

Primary LanguageJava

TDD Friendly Java Swing Show Case, Java Swing Development at Ease

Contact List Demo

Having worked with Swing some years ago, it feels nostalgic to play it again with some tools I came across. I tried the Contact List demo based on these project:

Swing Java Builder simplify work of creating bloated code Swing components. UI components declared as .yml resource that leverage MigLayout power and some added feature (See Swing Java Builder doc for details). It support live reload layout during development. AssertJ Swing make it easy to automate UI test.

See [ContactListScenarioTest] (https://github.com/achmadns/testable-swing/blob/master/src/test/java/com/achmadns/swing/testable/ContactListScenarioTest.java) as starting point.

Before running it from IDE, update your Runner config if you use Intellij to leverage hot reload of .yml file:

TestNG Runner config