[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.tools.hyades] Re: Using Hyades for testing

Hello Marius
I'm back for a few questions, that I hope you would answer. I've understood that the Hyades Test Model is very complex, and that there is a set of facade interfaces and utility classes to use it more easily. How do these interfaces and classes simplify the test model? Is there any documentation about it?
Actually, I don't want to use Hyades HMI, but I'd like to describe my testcases (with sequence diagram and so on) in a extern modeler. After what, I'd like to import them in Hyades. So I'm ok that I will have to convert them from my model to the Hyades test model. Is it possible to access to the Hyades test model APIs or to their facades interfaces ones, so as to link my test elements to the Hyades test model ones?
Does a user guide for the Hyades test model APIs or their facade interfaces APIs exist? Is there an example of using these APIs?
Thanks.
Ronan



Marius Slavescu wrote:

Ronan,

Look for "Help" --> "Test" which contains the same info, this was recently
renamed to "TPTP tester guide" which seems to be only in CVS, there is no
published driver yet with this update.

Thanks,
Marius

"Ronan" <ronan.le-corre@xxxxxxxxxxxxxxxxxx> wrote in message
news:cojv65$o9o$1@xxxxxxxxxxxxxxxxxx
Marius
I installed the following version of Hyades driver and I can't find the
"Help"-->"TPTP tester guide" documentation. Is it normal or where can I
find it if not in the Eclipse workbench help?
version 3.1.0_20041019_1201 (release)
version 3.2.0_20041112_1553 (stable)
thanks
Ronan

> 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 f
or
>> 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@xxxxxxxxxxxxxxxxxx
>>> Hello
>>> 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
>>>