BaseConnector: Create tests for the base connector and implement the Neo4jConnector class
B-Stefan opened this issue · comments
Stefan Bieliauskas commented
Create a set of cases to test the implementation of the BaseConnector (Neo4j or Arango ... )
The following methods will be tested:
- create_document(): string
- create_bundle(doc_id): string
- create_record(bundle_id, attributes: dict, metadata: dict, prov_record: ProvRecord): string
- create_relation(bundle_id,attributes: dict, metadata: dict , prov_relation: ProvRelation): string
- get_document(document_id: string): ProvDocument?
- get_bundle(bundle_id: string): ProvBundle?
- get_record(record_id): ProvRecord?
- get_relation(relation_id): ProvRelation?
- delete_document(document_id): bool
- delete_bundle(bundle_id): bool
- delete_record(record_id): bool
- delete_relation(relation_id): bool
Stefan Bieliauskas commented
I already started this ;) see this branch
Martin Stoffers commented
Okay 👍
Just setup some more issues and I will work on them next week.