Skip to main content

Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "Xtext Release Engineering"

(Test FAQ)
(How do I add a test plug-in)
Line 16: Line 16:
  
 
* Add file ''test.xml'' and add it to the binary build by checking it in the ''build.properties'' editor
 
* Add file ''test.xml'' and add it to the binary build by checking it in the ''build.properties'' editor
  Copy the contents form an existing test project and adapt plug-in name and classname. There are two kinds of tests:
+
Copy the contents form an existing test project and adapt plug-in name and classname. There are two kinds of tests:
 
** ''ui-test'' plug-in test needing a workbench
 
** ''ui-test'' plug-in test needing a workbench
 
** ''core-test'' headless plug-in test
 
** ''core-test'' headless plug-in test

Revision as of 05:26, 23 July 2008

Xtext build server

This documentation relates to Xtext version 2 which is currently under development. For Xtext shipped with oAW consult sourceforge.org

Build FAQ

Test FAQ

How do I add a test plug-in

  • Name your plug-in like
<plugin-to-be-tested>.tests
  • Generate a test suite, e.g. by running the Xtext Tools->Create Test Suite action, provided by org.eclipse.xtext.testcollector. Make sure the test suite is in an exported package.
  • Add file test.xml and add it to the binary build by checking it in the build.properties editor

Copy the contents form an existing test project and adapt plug-in name and classname. There are two kinds of tests:

    • ui-test plug-in test needing a workbench
    • core-test headless plug-in test

Back to the top