Using Ant to run XSpec unit tests

Having trouble installing Oxygen? Got a bug to report? Post it all here.
scottbdr
Posts: 57
Joined: Tue Jul 21, 2009 1:48 am

Using Ant to run XSpec unit tests

Post by scottbdr »

Is it possible to use Ant to run multiple XSpec tests in OxygenXML? Ideally would like to be able to run a suite of tests, i.e. not just one at a time using a transform scenario. I know it's possible using Ant/XSpec directly: https://github.com/xspec/xspec/wiki/Running-with-Ant. Just wondering if it is somehow facilitated by Oxygen.

Thanks, Scott
alex_jitianu
Posts: 1014
Joined: Wed Nov 16, 2005 11:11 am

Re: Using Ant to run XSpec unit tests

Post by alex_jitianu »

Hi,

From the Project view, you can invoke the contextual menu over a directory containing xspec files and select Transform->Apply transformation Scenarios.... All xspec files from that directory will be run. Alternatively, you could create a driver xpec file that imports multiple xspec files and run this master file.

Best regards,
Alex
scottbdr
Posts: 57
Joined: Tue Jul 21, 2009 1:48 am

Re: Using Ant to run XSpec unit tests

Post by scottbdr »

Well, in hind site that seems pretty obvious. Not sure why that didn't come to me the other day but thanks for that!

Scott
Post Reply