Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

End-to-end test for schema-aware XSLT #340

Merged
merged 441 commits into from
Feb 22, 2019

Conversation

AirQuick
Copy link
Member

@AirQuick AirQuick commented Sep 5, 2018

This pull request derives from #339. So needs to be handled after that.


This pull request adds an end-to-end test for schema-aware XSLT processor.

How to run the test

Just follow README.
If you don't have Saxon-EE, the test is skipped automatically. (Travis, AppVeyor)

How it works

In the same way as #327.

This reverts commit 0757422.
This reverts commit 566e8d8.
# Conflicts:
#	test/end-to-end/processor/base/compare.xsl
#	test/end-to-end/processor/html/_normalizer.xsl
# Conflicts:
#	test/end-to-end/cases/expected/query/xquery-tutorial-result.html
…a-aware_e2e

# Conflicts:
#	test/end-to-end/cases/expected/stylesheet/xspec-rule-result.html
#	test/end-to-end/cases/expected/xspec-rule-junit-norm.xml
#	test/end-to-end/cases/expected/xspec-three-dots-junit-norm.xml
#	test/generate-tests-utils.xspec
@AirQuick AirQuick added this to the v1.3.0 milestone Feb 11, 2019
@AirQuick AirQuick merged commit b48e14a into xspec:master Feb 22, 2019
@AirQuick AirQuick deleted the test_schema-aware_e2e branch February 22, 2019 08:33
@AirQuick
Copy link
Member Author

AirQuick commented Feb 22, 2019

@cirulls
Merged this improvement of test.

This pull request just adds test files. The existing facility (implemented by #327, #331 etc.) handles the added test files automatically.

With Saxon-EE or oXygen, the test runs like this:

Buildfile: ...\test\end-to-end\ant\run-e2e-tests\build.xml
...
xslt.supports.schema=true
...
Testing xspec-23_2.xspec [t]
passed: 0 / pending: 0 / failed: 1 / total: 1
Comparing
   Actual: .../test/end-to-end/cases/actual__/stylesheet/xspec-23_2-result.xml
 Expected: .../test/end-to-end/cases/expected/stylesheet/xspec-23_2-result.xml
OK
Comparing
   Actual: .../test/end-to-end/cases/actual__/stylesheet/xspec-23_2-result.html
 Expected: .../test/end-to-end/cases/expected/stylesheet/xspec-23_2-result.html
OK
Comparing
   Actual: .../test/end-to-end/cases/actual__/stylesheet/xspec-23_2-junit.xml
 Expected: .../test/end-to-end/cases/expected/stylesheet/xspec-23_2-junit.xml
OK

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant