Functional Tests

The UCUM functional test corpus is maintained in the FHIR/Ucum-java repository. You can view the XML test file or download it directly.

Contributions and corrections to the test corpus are welcome through GitHub issues or pull requests in that repository. Corrections to this documentation can be submitted to ucum-org/ucum-docs.

Conformance

You may declare conformance to these UCUM functional tests if your implementation accepts the linked XML file as an input, and passes all the test cases it contains. You should always quote the most recent date from the test corpus’s history when claiming conformance. You may qualify the conformance to particular kinds of cases if your functionality does not cover all the tests. Note that conformance to these tests does not equate to conformance to UCUM itself – though one could reasonably claim to be compliant with UCUM if one is conformant to these tests.

This file is copyright © 2008 – 2009 Grahame Grieve and other contributors:

License

This source is licensed for public use under the Eclipse Public License.

History

Back to Documentation index