[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: XSpec and XSL Testing

Subject: Re: XSpec and XSL Testing
From: "Martin Holmes gtxxgm-xsl-list-2@xxxxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Sat, 27 Jul 2019 21:16:47 -0000
 Re: XSpec and XSL Testing
On a much smaller scale, the Oxygen editor has good built-in support for XSpec, and I've grown to like it a great deal; when I write function libraries in XSLT nowadays I always pair them with XSpec.

Cheers,
Martin

On 2019-07-27 2:06 p.m., Christophe Marchand cmarchand@xxxxxxxxxx wrote:
At Editions Lefebvre Sarrut - France - we have a strong requirement on XSLT unit testing. We use XSpec, with xspec-maven-plugin [1], which produces JUnit / Surefire test report, that is perfectly integrated in CI tools (Jenkins, SonarQube).

All our projects, even XSL-only projects, are maven projects. An important point of xspec-maven-plugin is the ability to choose which Saxon you use (HE, PE, EE), and, if you have your own build of Saxon available in a maven repo, you can use it for XSpec.

We are currently testing XSpec on Schematron, and try to find a solution to unit test RNG with XSpec too...

Sandro Cirulli [2] and AirQuick [3] have done a real great job to bring XSpec up to XST 3.0 level, and to support correctly XQuery & Schematron - there is still some jobs to finalize...

For real specific cases (including xsl:error testing), you use JUnit, as XSpec is not able to catch errors. There is some job around this [4], but not yet merged into main stream.

At this point, main dev stream is at [5] and builds are available in maven atB [6]

As far as XProc 3.0 goes, Editions Lefebvre Sarrut have some plans on using XSpec for XProc unit testing. It requires a lot of XSpec language evolutions, but there is a lot of promises...

XSpec is still alive !

Best regards,
Christophe

[1] - https://github.com/xspec/xspec-maven-plugin-1/
[2] - https://github.com/cirulls
[3] - https://github.com/AirQuick
[4] - https://github.com/Nico-Amplexor/xspec
[5] - https://github.com/xspec/xspec
[6] - http://repo1.maven.org/maven2/io/xspec/

Le 26/07/2019 C 22:55, Edward Porter edward.porter@xxxxxxx a C)critB :

Therebs been some renewed interest in the possibility of unit testing in my organization, and some folks have brought up XSpec as a possible avenue towards more robust testing during development. We leverage a fairly large number of Java extensions, our pipeline is all Java, and webve extended Saxon a fair bit as well. For these reasons, I am having a hard time envisioning how to integrate XSpec. We already have quite a large array of regression tests and a good testing team, but the concept of catching regressions during development is appealing.


What are you all doing these days for testing? Are there large scale implementations of XSpec in the wild with complex pipelines? I canbt find too many examples on the net. I found a brief discussion of this topic several years ago on this listserv, but I wondered if there were any developments/good experiences since then.

Thanks in advance!

-Edward

XSL-List info and archive <http://www.mulberrytech.com/xsl/xsl-list>
EasyUnsubscribe <http://lists.mulberrytech.com/unsub/xsl-list/2837134> (by email)
XSL-List info and archive <http://www.mulberrytech.com/xsl/xsl-list>
EasyUnsubscribe <http://lists.mulberrytech.com/unsub/xsl-list/1309990> (by email <>)

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.