Add conformance tests

Open
#749 1 comment 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
28/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
rust
Domain
testing

Research direction

Review the W3C XML Test Suite links in the issue, especially the latest test suite archive, and compare the listed Java generator and NPM package for ways to run it. Decide whether to download the suite automatically or include it as a submodule, then consider a separate crate using cargo test; done means the conformance tests run as part of the Rust project workflow.

Written by the indexing model from the issue text.

Description

enhancement help wanted

The official test suite is located at https://www.w3.org/XML/Test/. The all links from that page or found by references from that page:

There also exist W3C XML Schema 1.1 (XSD 1.1) test suite, maybe would be useful: https://github.com/w3c/xsdtests

The preferred implementation should automatically download test suite if it does not exist locally and run tests. We also could have a copy as a submodule in our repository. I prefer to use default Rust tools, i.e. cargo test. Test could be implemented in a separated crate to not slow down everyday workflow.

Dominant language
Rust
Stars
1.6k
Forks
299
Avg merge
2d 4h
Merged PRs (30d)
9

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from tafia/quick-xml

All issues in tafia/quick-xml

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.