Hi Andreas,

I'm actually in the process of finishing up a
testsuite for cartridges (it
was the regression module from 2.x but I'm improving
it and putting it in a
Maven plugin).  It compares generated output with
expected output.
You'll just need to write a test model and then create
a zip file with your
expected output and run the goal from this plugin
during a call to test:test
and the generated will be compared with the expected
files.  Here's the docs
for the plugin that will run it, however note that
these docs may be
possibly change over the next couple days as I
complete it:
http://team.andromda.org/docs/andromda-cartridge-plugin/index.html.
 If you
want an example, download the nightly src
distribution:
http://team.andromda.org/maven/andromda/distributions/
(since anon CVS is
down) and take a look at the andromda-webservice
cartridge, we test that
cartridge during the build (we'll be adding tests for
the others as well
very soon).

Chad

--- Andreas Brenk <[EMAIL PROTECTED]> wrote:

> Hi,
> 
> does any one of you already have some unit tests for
> LogicImpl classes?
> 
> I don't have that much experience writing unit tests
> but really like to 
> do so during cartridge development. Running AndroMDA
> and looking at the 
> generated files is too time consuming.
> 
> Any suggestions are highly appreciated!
> 
> Regards,
> Andreas
> 
> 
>
-------------------------------------------------------
> SF.Net email is sponsored by Shop4tech.com-Lowest
> price on Blank Media
> 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R
> for only $33
> Save 50% off Retail on Ink & Toner - Free Shipping
> and Free Gift.
>
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
> _______________________________________________
> Andromda-user mailing list
> [EMAIL PROTECTED]
>
https://lists.sourceforge.net/lists/listinfo/andromda-user
> 



-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
Andromda-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/andromda-user

Reply via email to