Use cases:

To run all functional tests:
- TProcessor.CMD -pattern *cases\\functional*

To run a single test:
- TProcessor.CMD -testcase testsuite\junit\xmltestcases\functional\copy\code\copy201.xml


This is the test I have run, it excludes tests that always fail (due to deadlocks) leaving behind an uncleaned state
- TProcessor.CMD -pattern *cases\\functional* -exclude *multi-user\\copy*


Oliver Zeigermann wrote:

This is fairly easy when you have Windows. just cd into testsuite/bin and run TProcessor.CMD. At least when your server runs on 8888. Otherwise you will have to change some settings in the header of the script. If you are not on Windows ( and I suppose you are not ) you will have to write a script of your own (and maybe contribute it afterwards).

What you will have to do is generate a java call like this

java $OPTS junit.textui.TestRunner org.apache.slide.testsuite.testtools.walker.TProcessorTestExecuter

where OPTS include all the stuff set in TProcessor.CMD

Should be easy, and Windows batch actually is easy to read.
A variable reference looks like %var% as opposed to $var or ${var}

Oliver

Stefano Mazzocchi wrote:


On 25 Nov 2003, at 15:30, Oliver Zeigermann wrote:


Testsuite looks good :)

All the "normal" failures (14 only).

testsuite\junit\xmltestcases\functional\extra\multi- user\copy\copyDisjoint.xml
testsuite\junit\xmltestcases\functional\extra\multi- user\copy\copySame.xml


cause deadlocks just like with tx file store, Sybase and SQLServer. Even more oil in my fire;) *We need global non-blocking transaction locks*



Oliver,


can you give us instructions on how to run the tests? I think it would be cool if more people could run the tests so that we can parallelize the work.

TIA

--
Stefano.





--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]


.






---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to