Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 250610

Summary: [Java-Experimental] dev-java/uispec4j
Product: Gentoo Linux Reporter: Alistair Bush (RETIRED) <ali_bush>
Component: [OLD] JavaAssignee: Java team <java>
Status: RESOLVED OBSOLETE    
Severity: normal Keywords: EBUILD, InOverlay
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: http://www.uispec4j.org/index.html
Whiteboard:
Package list:
Runtime testing required: ---

Description Alistair Bush (RETIRED) gentoo-dev 2008-12-11 11:19:44 UTC
UISpec4J is an Open Source functional and/or unit testing library for Swing-based Java applications, built on top of the JUnit  test harness.
If you are writing a Swing application, you will appreciate UISpec4J above all for its simplicity: UISpec4J's APIs are designed to hide as much as possible the complexity of Swing, resulting in easy to write and easy to read test scripts. This is especially true when comparing UISpec4J tests with those produced using Swing or low-level, event-based testing libraries.
Here is for example how a JTable content is tested with UISpec4J. This table:

can be checked using this test:

          
  public void testContacts() {
    Table contacts = getMainWindow().getTable();
    assertTrue(contacts.contentEquals(new Object[][]{
      {"John", "12", Boolean.FALSE},
      {"Sylvia", "43", Boolean.TRUE},
      {"Bill", "31", Boolean.FALSE}}));
   }
Comment 1 Andreas Sturmlechner gentoo-dev 2015-08-08 11:55:48 UTC
Last release 2.4 is from 2010-12-19