Skip to content

Test coverage gaps #29

@stephenwf

Description

@stephenwf

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions