jamesmudd / jhdf

A pure Java HDF5 library
http://jhdf.io
MIT License
137 stars 37 forks source link

Add writing interoperability tests #553

Closed jamesmudd closed 4 months ago

jamesmudd commented 6 months ago

What is the suggestion?

Currently writing tests write a HDF5 file and then read it back with jHDF to verify the contents. In addition it would be good to confirm the file can be read correctly by the HDF5 C library. Suggested here https://github.com/jamesmudd/jhdf/issues/354#issuecomment-1902251615

How would it be an improvement?

Verify interoperability as more writing support is added.

Additional context

Best approach so far I think is to use h5dump to output XML then parse that in the JUnit test to verify

jamesmudd commented 4 months ago

Main part of this was added in #557 now just needs extending to other platforms in CI

jamesmudd commented 4 months ago

Added macOS https://github.com/jamesmudd/jhdf/pull/572 and Windows https://github.com/jamesmudd/jhdf/pull/573