dlite icon indicating copy to clipboard operation
dlite copied to clipboard

Add tests to the triplestore subpackage

Open jesper-friis opened this issue 2 years ago • 1 comments

In order to make the triplestore package more independent, add a tests/ subdirectory and a requirements.txt file.

Move the existing test_triplestore.py test from bindings/python/tests/ to the new tests/ directory.

We could probably standardise on using pytest for this package. That will allow us to add standard fixtures that can be applied to all backends.

jesper-friis avatar Sep 20 '22 08:09 jesper-friis

Tests for all the functions in the triplestore must be implemented. Currently add_triples, remove, query, triples, remove, serialize and update do not have any tests.

francescalb avatar Sep 22 '22 16:09 francescalb

As the triplestore sub-package has been made into a stand-alone package, this issue has no meaning here and can be closed.

CasperWA avatar Jan 04 '23 14:01 CasperWA