Skip to content

Add automation tests to verify boolean values are set and overridden properly #655

Description

@kim-tsao

Which area/kind this issue is related to?

/area test-automation

Issue Description

Add automation tests that call the Devfile parser (the same way a client would) to validate that:

  • unset booleans are set to their defaults and are never nil
  • booleans are overridden by parent values
  • unset parent boolean values do not override main devfile booleans i.e. parent booleans are not set to default values

We also need to update some of the common API utils. There isn't enough randomness with unset booleans as observed with debugging existing library tests, it's only the parallel and ephemeral that are unset.

We need to add support for RootRequired as well.

Activity

  1. self-assigned this
    on Oct 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area/test-automationTest automation for devfile specification and library

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions