Skip to content

Document Data Loading Validation Logic #11

Description

@valentinedwv

ADD TO THIS DOCUMENT: https://github.com/earthcube/geocodes_documentation/wiki/DataLoadingValidationStory#what-do-we-need-do-to-setup-testing

Document the testing that will be needed to validate the data loading.
Repeat, document the steps we will need to implement to validate the data loading.

This is not asking for the implementation of the tests. It is asking for the testing plan with the steps that will will need to implement.

Places to possibly look:

Tasks:

[x] Spec: Summon working
[x] Spec: expected JSON-LD
[x] Spec: JSON-LD data load to triple store
[ ]Spec: JSON LD Renders in UI
[ ] Spec Tool Linkage:
[ ] spec: org provenance information
[ ] SPEC automate use Geocode_Metadata_Approval tests as part of a CI workflow
[ ] SPEC SHACL and other validation of full source/repository data

Examples

Spec: Summon working
[x] we have earthcube reports in the scheduler, and tests in the geocodes metadata

  • count of records from a sitemap (matches) count of records that made it into the bucket
  • possible tool: sitemap assay

Spec: expected JSON-LD
[x] approval tests in the geocodes metadata
possible tooling: https://github.com/gleanerio/notebooks/tree/master/notebooks/validation

  • validate jsonld using ?
  • does it have xxxx

Spec: JSON-LD data load to triple store
[x] we have earthcube reports in the scheduler,

  • count of files in s3 bucket (matches) count of graphs for an organization/record
  • For (% of data load or all if < 100 records)
    • retrieve JSONLD
      • urn
      • name
    • retrieve a graph by a urn from the service api
      • did we get a record
      • does information (name, urn, [other properties]) match
    • retrieve from triplestore using user interface query with name as

Spec: JSON LD Renders in UI

  • for a random number of jsonld in org.
    • create a set of curl url
    • open in a web test suite (selenium, etc) and see that they at least partially render to expectations

Spec Tool Linkage:

  • for a set of known files, do we match the look linkages.
    • This probably needs to be an approval test.

spec: org provenance information

SPEC automate use Geocode_Metadata_Approval tests as part of a CI workflow

SPEC SHACL and other validation of full source/repository data

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentation

    Type

    No type

    Projects

    Status
    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions