Apache JDO Project - Re: JDO TCK TestRunner ideas

This is Interesting: Free IT Magazines  
Home > Archive > Apache JDO Project > June 2005 > Re: JDO TCK TestRunner ideas





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Re: JDO TCK TestRunner ideas
Michael Bouschen

2005-06-06, 7:49 am

Hi Michelle,

> Hi, Michael,
>
> I am reviewing the ideas we discussed for controlling test execution
> for multiple configurations. One goal we have is that all allowed
> combinations of tests, mapping files, test data, identity settings,
> ... can be run with a single maven command. If I understand
> correctly, you pictured that the user would select a configuration
> file by setting it in project.properties and only that one
> configuration (which might include many tests, mappings, etc.) would
> be run by maven. Is this correct? Or do you see a way for maven to
> run a set of configuration files on one invocation?


Today the goal runtck run the configuration specified with the property
jdo.tck.configuration. If you want to run a different configuration you
either change the setting of jdo.tck.configuration in project.properties
or set using the -D option it when calling maven (e.g. maven
-Djdo.tck.configuration=conf/my.conf runtck).

maven allows to set properties inside a goal and then call another goal.
The following should run the tck with the configuration from conf/my.conf:
<j:set var="jdo.tck.configuration" value="conf/my.conf"/>
<attainGoal name="runtck"/>
So maybe we can have a new property that just lists all the
configuration files you want to run and then run the above in a loop
iterating the configuration list.

I did not try this, I'm just thinking loud here ...

Regards Michael

>
> -- Michelle
>
> Michael Bouschen wrote:
>
>
>



--
Michael Bouschen Tech@Spree Engineering GmbH
mailto:mbo.tech@spree.de http://www.tech.spree.de/
Tel.:++49/30/235 520-33 Buelowstr. 66
Fax.:++49/30/2175 2012 D-10783 Berlin


Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com