You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
At the moment, all RO-Crate tests only check whether exporting and then importing an ARC yields the original object. Such a test case misses certain types of code changes, e.g. editing the context semantically does not result tests failing.
I suggest there should be at least one test case checking the export of a specific ARC or Investigation against a fixed json string. Such objects already exist in the code base, e.g. in tests/TestingUtils/TestObjects.ROCrate/[email protected]. However, no test uses this file.
The text was updated successfully, but these errors were encountered:
Was actually wondering a bit why no tests are failing after the big changes in #496.
Now the question is how we actually continue from here. Should we create a test file based on the ARCPrototype? E.g. writing the file using the current implementation and then manually control it?
I think using the rocrate-validator for basic validation is a good idea. In the future, we can also validate against the ARC profiles, when they are implemented. But I think having a baseline metadata file for a full ARC is also a good idea.
E.g. writing the file using the current implementation and then manually control it?
@HLWeil Which current version do you mean? The one before the refactoring?
At the moment, all RO-Crate tests only check whether exporting and then importing an ARC yields the original object. Such a test case misses certain types of code changes, e.g. editing the context semantically does not result tests failing.
I suggest there should be at least one test case checking the export of a specific ARC or Investigation against a fixed json string. Such objects already exist in the code base, e.g. in
tests/TestingUtils/TestObjects.ROCrate/[email protected]
. However, no test uses this file.The text was updated successfully, but these errors were encountered: