Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 250610 - [Java-Experimental] dev-java/uispec4j
Summary: [Java-Experimental] dev-java/uispec4j
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Java (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Java team
URL: http://www.uispec4j.org/index.html
Whiteboard:
Keywords: EBUILD, InOverlay
Depends on:
Blocks:
 
Reported: 2008-12-11 11:19 UTC by Alistair Bush (RETIRED)
Modified: 2015-08-08 21:59 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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