Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test coverage gaps #29

Open
35 tasks
stephenwf opened this issue Nov 18, 2022 · 0 comments
Open
35 tasks

Test coverage gaps #29

stephenwf opened this issue Nov 18, 2022 · 0 comments
Milestone

Comments

@stephenwf
Copy link
Member

At the time of writing, we have about ~75% branch coverage on the V2 branch.

Presentation 3

  • Merging during normalization
    • [error path] Merging object with array
    • Merging two object types
    • Merging null with any type
    • [error path] Merging array of arrays with an array
    • [unknown path] Merging list of objects into another list of objects
    • [error path] Merging array with object
    • Merging unchanged values
    • [error path] Merging unkown types
  • Merging entities
    • [no-op path] Merging anything with string
    • [error path] Merging an object without a type/id
  • Annotation parsing
    • Annotations with seeAlso properties
    • Annotation with audience property
    • Annotation with accessibility property
  • Target types (annotations/partOf)
    • String targets
    • String sources within Specific resource
    • Canvas source within Specific resource with partOf property that is string (inferred as Manifest)
  • Serialization of P3
    • Serialization of "ImageService2"
    • Service.service within a service that is not an array
    • Serialization without @context (might be unreachable)
    • Serialization of motivation that is not array (compat)
    • Serialization of Annotation Collection (missing properties)
    • Serialization of Nested collections
    • Serialization of Non-Specific resources in Ranges (might be unreachable)
  • Other / misc
    • Serialization of P2 - no tests set up yet, possibly cookbook?
    • Normliazation of Presentation 2 services
    • Merging of services (for loading)
    • Expand target tests

Presentation 2

  • Re-add missing upgrade tests + snapshots

Image 3

  • Error paths
  • Parsing image service from URL
  • Parsing rotation params
  • Image services with prefixes
  • Serializing rotation
  • Extracting fixed size scales
  • Generating fixed sizes from scales
@stephenwf stephenwf added this to the 2.0 milestone Nov 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant