Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [eclipselink-dev] running individual test cases

Hello!
Id love to know this myself. Usually, I just search for what Test Suite has the test I want to run, then I comment out all the other tests being added to the suite. Then it's just a matter of finding the ant target that runs that suite. For instance, a quick search shows me that XMLMarshalTestCases is added to OXMSRGTestSuite. From there, another quick search in antbuild.xml shows me that "org/eclipse/persistence/testing/oxm/OXMSRGTestSuite.java" is a part of <macrodef name="run_oxm_srg_tests">. Which in turn is called from <target name="compile-and-run-srg-tests-against-jar"... I comment out the parts I don't want, then just invoke the ANT target from the commandline. Convoluted? yes. Works? also yes. ;)

Thanks,
Will Dazey

On Thu, Jun 28, 2018 at 2:05 PM, Ravi babu Tummuru <ravi.babu.tummuru@xxxxxxxxxx> wrote:
Hi,
    Is there any easy way to run  individual test cases from command line..?
I want to run eclipselink.moxy.test/src/org/eclipse/persistence/testing/oxm/xmlmarshaller/XMLMarshalTestCases from command line.
Thanks
Ravi
_______________________________________________
eclipselink-dev mailing list
eclipselink-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/eclipselink-dev


Back to the top