vnmabus / rdata

Reader of R datasets in .rda format, in Python
https://rdata.readthedocs.io
MIT License
40 stars 2 forks source link

Improve tests #35

Open vnmabus opened 6 months ago

vnmabus commented 6 months ago

There are a couple of ideas for improving the tests in this package.

For the tests, I think that the ideal thing would be to have each dataset as both binary and ASCII. Then it should be possible, maybe using a Pytest fixture, to pass the same tests for both versions, ensuring that all functionality work for both implementations.

_Originally posted by @vnmabus in https://github.com/vnmabus/rdata/pull/34#discussion_r1455873764_

I think it could also be useful to include in the repo an R script that generates all those test data files.

_Originally posted by @trossi in https://github.com/vnmabus/rdata/pull/34#discussion_r1462228483_