ARC validation packages for avpr.nfdi4plants.org maintained by DataPLANT
Validation packages are executed in appropriate ARC fixtures placed in tests/fixtures
.
Test output is then subject to unit testing.
ArcPrototype is a submodule in /tests/fixtures/ folder. When cloning the repo it will be empty.
In project root:
git pull --recurse-submodules
In project root:
dotnet build
In project root:
dotnet test
- Run the validation package once and make sure that the output matches the expected result
- Copy the
validationSummary.json
from<arcPath>/.arc-results/
to<root>/tests/fixtures/validationSummary/<packageName>/<version>/<nameOfTestArc>
- Do the same for
validationReport.xml
- Create a new file according to the new package in the test project in the format
<packageName>@<version>.fs
, e.g.[email protected]
- Use the structure and types from existing files, copy them and refactor them accordingly
- Create respective in-memory validation results in
ReferenceObjects.fs