| [news.eclipse.tools.hyades] Re: Using Hyades for testing |
Marius Slavescu wrote:
Hi Ronan,
Here are some quick insights about Hyades Test Component.
Hyades (renamed to TPTP) provides through the Test Component (Platform Project + Test Project) an initial implementation of the UML2 Testing Profile (basically a subset of UML2 and U2TP) a set of UI/runtime components that will help you build and run tests.
We have in our plans the migration of our subset of UML2 to use the Eclipse UML2 project (http://www.eclipse.org/uml2/), although that will take some time.
Because of it's relative complexity the Hyades Test model is exposed and exercised through a set of facade interfaces and utility classes (see /org.eclipse.hyades.models.common/src/org/eclipse/hyades/models/common/facad es/behavioral and /org.eclipse.hyades.models.common/src/org/eclipse/hyades/models/common/facad es/behavioral/impl packages).
There are several types of tests that you can create/run using the current support, like Manual, JUnit and HTTP testcases (probably you already tried some of them). To run the tests you need to create deployment descriptors and you could also use data pools.
Regarding your need to design them using Objecteering (which also seems to have some UML2 support, including some profiles), there is no support for importing other UML2 models, until we base our model on the Eclipse UML2 you may try to convert the Objecteering model into Hyades Test model yourself (with help from our side).
I would say that you should try to use Hyades Test Component and if you find that you need extra features please open Bugzilla reports with details. Also if you find that you cannot use it at all for your usecases please let us know.
Although currently we don't model the arbiter and scheduler explicitly there is a default implementation embedded in the executor (test runner) and the test implementation.
Please let me know if you need more info also check "Help" -> "TPTP tester guide" documentation in the latest Hyades driver.
Thanks, Marius
"Ronan" <ronan.le-corre@xxxxxxxxxxxxxxxxxx> wrote in message news:co1h7q$mnd$1@xxxxxxxxxxxxxxxxxxHello I'm trying to know whether I can use Hyades for my project, which objective is to generate test code from test design. Actually, I would like to design my tests under an outside modeler (Objecteering). My first problem is to get them back with Hyades. How can I do that? May I use EMF to import class diagram (actually I read that EMF cannot import sequence diagram, activity diagram and so on)? But how can I use these classes to make testcases and testsuites? I haven't found any tutorials about it, and I don't really know whether I can do my job with Hyades. Another question is the following :I read that Haydes is based on the UML2 Testing Profile, does it use all its features (the Scheduler, the Arbiter?) and how? How can I describe them? I've never read anything about them in "help" or in whitepapers. Thank you very much for reading me. I hope having some news to help me.
Ronan Le Corre
P.S : I use Hyades v3.1.0 on Eclipse 3.1.0