Differences between revisions 2 and 3
Revision 2 as of 2007-02-23 08:20:16
Size: 3441
Editor: PietMolenaar
Comment:
Revision 3 as of 2009-02-12 01:03:37
Size: 3453
Editor: localhost
Comment: converted to 1.6 markup
Deletions are marked like this. Additions are marked like this.
Line 7: Line 7:
[[TableOfContents([2])]] <<TableOfContents([2])>>
Line 13: Line 13:
For details on RFCs in general, check out the [http://www.answers.com/main/ntquery?method=4&dsid=2222&dekey=Request+for+Comments&gwp=8&curtab=2222_1&linktext=Request%20for%20Comments Wikipedia Entry: Request for Comments (RFCs)] For details on RFCs in general, check out the [[http://www.answers.com/main/ntquery?method=4&dsid=2222&dekey=Request+for+Comments&gwp=8&curtab=2222_1&linktext=Request%20for%20Comments|Wikipedia Entry: Request for Comments (RFCs)]]
Line 20: Line 20:
31/10/06 Short investigation of testing environments started: see below; based on [http://www.junit.org/news/extension/gui/index.htm JUnit extensions] but any suggestions welcome!! 31/10/06 Short investigation of testing environments started: see below; based on [[http://www.junit.org/news/extension/gui/index.htm|JUnit extensions]] but any suggestions welcome!!
Line 24: Line 24:
To view/add comments, click on any of 'Comment' links below. By adding your ideas to the Wiki directly, we can more easily organize everyone's ideas, and keep clear records. Be sure to include today's date and your name for each comment. Here is an example to get things started: ["/Comment"]. To view/add comments, click on any of 'Comment' links below. By adding your ideas to the Wiki directly, we can more easily organize everyone's ideas, and keep clear records. Be sure to include today's date and your name for each comment. Here is an example to get things started: [[/Comment]].
Line 68: Line 68:
* [https://swingunit.dev.java.net/ SwingUnit] * [[https://swingunit.dev.java.net/|SwingUnit]]
Line 70: Line 70:
* [http://jemmy.netbeans.org/ Jemmy] * [[http://jemmy.netbeans.org/|Jemmy]]
Line 72: Line 72:
* [https://sourceforge.net/projects/jfcunit/ JFCUnit] * [[https://sourceforge.net/projects/jfcunit/|JFCUnit]]
Line 74: Line 74:
* [http://abbot.sourceforge.net/doc/overview.shtml Abbot] * [[http://abbot.sourceforge.net/doc/overview.shtml|Abbot]]
Line 83: Line 83:
  * ["/Implementation Plan"]   * [[/Implementation Plan]]

RFC Name : Testing

Editor(s): PietMolenaar, TeroAittokallio

<<TableOfContents: execution failed [Argument "maxdepth" must be an integer value, not "[2]"] (see also the log)>>

About this document

This is an official Request for Comment (RFC) for Testing.

For details on RFCs in general, check out the Wikipedia Entry: Request for Comments (RFCs)

Status

30/10/06 Not yet completely written but open for public comment

31/10/06 Short investigation of testing environments started: see below; based on JUnit extensions but any suggestions welcome!!

How to Comment

To view/add comments, click on any of 'Comment' links below. By adding your ideas to the Wiki directly, we can more easily organize everyone's ideas, and keep clear records. Be sure to include today's date and your name for each comment. Here is an example to get things started: /Comment.

Try to keep your comments as concrete and constructive as possible. For example, if you find a part of the RFC makes no sense, please say so, but don't stop there. Take the extra step and propose alternatives.

Proposal

Apart from the currently already implemented JUnit tests, the Cytoscape framework needs tests that cover (and preferably automatically test) user interaction; functional/regression tests. All along the following lines:

1. create a brief overview GUI testing environments

2. code-spike: 'load a network and move nodes around'

3. extend this as a default test framework for GUI tests

4. implement this (or have this implemented) for all basic GUI operations

5. extend tests to include PerformanceProfiling

6. put up a small set of recommended GUI and JUnit tests for plugin developers; including data

Biological Questions / Use Cases

* Typical user scenarios are recorded as GUI actions in a file that can be re-used for automated testing

Requirements

GUI-testing environment:

* OpenSource

* Java; preferably JUnit integration

* Record/Play-back facilities

* Code and script facilities

* Active community; under active development

General Notes

Based on requirements above currently investigated:

* SwingUnit

* Jemmy

* JFCUnit

* Abbot

Open Issues

Backward Compatibility

Implementation Plan

Comments

Piet: I have done some testing using the Abbott framework but as I see it now this might be of use when testing 'black box' plugins, but for the framework and core plugins (where the source is available) the SwingUnit provides the most structured way of writing Gui tests.

GuiTesting (last edited 2009-02-12 01:03:37 by localhost)

Funding for Cytoscape is provided by a federal grant from the U.S. National Institute of General Medical Sciences (NIGMS) of the Na tional Institutes of Health (NIH) under award number GM070743-01. Corporate funding is provided through a contract from Unilever PLC.

MoinMoin Appliance - Powered by TurnKey Linux