On Fri, 25 Jan 2002 15:58, Leif Mortenson wrote:
> Ok, I went ahead and added a new task called test-subset which lets you
> run individual or subsets of tests. The syntax looks like this:
>
> build -Djunit.test=**/ResourceLimiting*TestCase.class test-subset
>
> I also merged the test and test-report tasks into a single task. They
> were testing different things because people had not been modifying both
> of them over time.
> The way it is now, the test reports are always generated by the test
> task, but the TEST-*.xml files are deleted to remove clutter.
excellente!!!
You both write tests and make sure they run - great addition to Avalon I
think ;)
> When I was merging the tasks, I noticed that the test task was excluding
> the following tests, while the test-report task was not. Currently this
> code is commented out so they always run.
>
> <exclude
> name="org/apache/avalon/excalibur/naming/rmi/test/RMIContextTestCase.class"
>/>
>
> <exclude
> name="org/apache/avalon/excalibur/logger/test/LogKitManagementTestCase.clas
>s"/>
>
> <exclude
> name="org/apache/avalon/excalibur/concurrent/test/ReadWriteLockTestCase.cla
>ss"/>
>
> <exclude
> name="org/apache/avalon/excalibur/monitor/test/MonitorTestCase.class"/>
Im not sure why they are disabled - feel free to re-enable them. They may
have been temporarily disabled while someone was testing a component (because
thye take a long time or something) and they forgot to get re-enabled.
--
Cheers,
Pete
-----------------------------------------------------------
Don't take life too seriously --
you'll never get out of it alive.
-----------------------------------------------------------
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>