binary-array-ld / net.binary_array_ld.bald

Java library for parsing, validating and managing binary array linked data files, e.g. HDF, netCDF.
Apache License 2.0
0 stars 3 forks source link

Test spec #51

Closed simonoakesepimorphics closed 3 years ago

simonoakesepimorphics commented 3 years ago

Static tests for #41

Major changes

Added a test framework (located in binary-array-ld-test module) which allows requirements to be defined in a set of YAML files and then run against a BALD implementation. See docs/testing.md for documentation.

Added an initial set of test specs based directly on the requirements defined in the current version of the spec.

Moved the core interfaces of the library from binary-array-ld-lib into a new binary-array-ld-api module to support test framework. binary-array-ld-lib now contains only the implementations of those core interfaces.

Minor changes

Fixed a testing issue with integers being inconsistently typed in RDF output. Added a generic Converter interface to be consumed by the test framework and to simplify Java / Kotlin usage. Moved various classes. Optimised Kotlin imports.

CMayNorris commented 3 years ago

Looks good to me. Thank you very much!