Skip to content

add xqsuite unit tests#588

Draft
peterstadler wants to merge 13 commits intodevelopfrom
485-add-xqsuite-unit-tests
Draft

add xqsuite unit tests#588
peterstadler wants to merge 13 commits intodevelopfrom
485-add-xqsuite-unit-tests

Conversation

@peterstadler
Copy link
Member

as layed out in #485 there are several steps involved:

  1. update the test data to include e.g. biblio documents. This concerns the data and was done in the Subversion repo. Here, only the file paths at testing/urls needed to be updated. Subsequently, all the expected results had to be re-created.
  2. integrate the tests into the ANT build file. This was done by adding a target "xqsuite" to testing/ant-testing.xml and indicating this target as a dependency for the main "test" target in build.xml
  3. Several biblio tests needed to be adjusted to the updated data

by copying the output from `compute-test-files.xql` from the subversion repo here. I needed to manually remove some paths of duplicates (e.g. source files that only contain a ref to another file) since the `compute-test-files.xql` spits them out, too.
by copying the output from `compute-test-files.xql` from the subversion repo here.
for normalizing links, e.g. "eXide/de/…" and "WeGA-WebApp/de/…" when running the tests from different environments
@peterstadler peterstadler linked an issue Feb 6, 2026 that may be closed by this pull request
3 tasks
@peterstadler peterstadler marked this pull request as draft February 6, 2026 23:27
@peterstadler
Copy link
Member Author

Turning this PR into draft since the tests are failing.

@peterstadler peterstadler linked an issue Feb 6, 2026 that may be closed by this pull request
2 tasks
@peterstadler peterstadler mentioned this pull request Feb 6, 2026
2 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Failures on biblio unit tests add XQSuite unit tests

1 participant