Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "JWT Tests"

(Open-Source :))
 
(One intermediate revision by the same user not shown)
Line 16: Line 16:
 
=== UI testing ===
 
=== UI testing ===
 
==== Open-Source :) ====
 
==== Open-Source :) ====
* Eclipse TPTP
+
* '''Eclipse TPTP'''
 
** Eclipse Official Project
 
** Eclipse Official Project
 +
** http://www.eclipse.org/tptp/test/documents/userguides/Intro-Auto-GUI-4-4-0.html
 
** TODO: try it
 
** TODO: try it
 
* Fitster
 
* Fitster

Latest revision as of 10:54, 2 May 2008

Aim

The aim of this page is to list a set of tools and references that could be used to write tests in JWT, to put JWT into a continuous integration process.

Sources

Inspired by: http://www.eclipsecon.org/2008/sub/attachments/TestDriven_Development_TDD_for_Eclipse_RCP.ppt

Resources and tools

Unit testing

  • PDE JUnit. More informations in chapter 12 of Kent Beck and Erich Gamma's book: [Contributing to Eclipse: Contributing to Eclipse: Principles, Patterns, and Plug-In] (Translated in French at CampusPress edition)
    • Allows to use unit test that depend on Eclipse framework (loads Eclipse framework in another JVM, and then run tests)
    • It is advised to use one test plugin for each plugin we want to test. This way, we have a better control on dependencies, and it facilitate the use of Test-Driven Development.
  • JMock is often used to create mock files in unit testing process.
    • Can we mock some SWT classes?

UI testing

Open-Source :)

Commercial :(

Copyright © Eclipse Foundation, Inc. All Rights Reserved.