|Wish to create own Test Generator [message #44264]
||Thu, 01 December 2005 09:07
Originally posted by: anthony.marsden.ac.com|
I would like to create my own 'Test Generator..' plugin which is available
off the *.recmodel menu list.
Can anyone advise me of how to add my own generator? I've looked around
and found the HTTPRecorder class. But unsure what actually generates the
Java test code.
Any help appreciated.
|Re: Wish to create own Test Generator [message #44893 is a reply to message #44865]
||Mon, 05 December 2005 12:29
Originally posted by: akuhn.arcor.de|
also check this news post, that i wrote some months ago...
Jeff Nevicosi wrote:
> Hi Anthony,
> "Test Generation" consists of two steps:
> 1) converting from the recording file (.recmodel) to a testsuite
> 2) converting from the testsuite to generated Java code
> For #1:
> You want to extend the TestGenerator extension point. There is some doc for
> this schema in the "org.eclipse.hyades.test.core" plugin, in TPTP 4.0 and
> An example of a class which extends TestGenerator is
> org.eclipse.hyades.execution.testgen.http.Testgen. This is located (again
> in TPTP 4.0 & later) in the org.eclipse.hyades.test.tools.core plugin.
> If you wish to create a new testsuite type, also of interest will be the
> org.eclipse.hyades.ui.typeDescriptions extension point.
> For #2:
> Look at the abstract class Generator (in o.e.h.test.tools.core) and the
> examples HttpGenerator (in o.e.h.test.ui.core).and PluginJUnitGenerator (in
> Note the the Java code is generated through JET templates. The eclipse.org
> site has some useful docs & tutorials describing JET.
> Hope this helps.
> "Anthony Marsden" <firstname.lastname@example.org> wrote in message
>>I would like to create my own 'Test Generator..' plugin which is available
>>off the *.recmodel menu list.
>>Can anyone advise me of how to add my own generator? I've looked around
>>and found the HTTPRecorder class. But unsure what actually generates the
>>Java test code.
>>Any help appreciated.
Powered by FUDForum
. Page generated in 0.06348 seconds