Skip to content

Document that a TestStep is either a PickleTestStep or a HookTestStep #250

@mpkorstanje

Description

@mpkorstanje

A TestStep is either a PickleTestStep or a HookTestStep.

  • When a PickleTestStep then the id, pickleStepId, stepDefinitionIds and stepMatchArgumentsLists are required.
  • When a HookTestStep then the id and hookId are required.

So in the union of these, only the id is required.

There are now better ways to express this in a json schemas but either we didn't have those at the time, or they didn't quite work.

Originally posted by @mpkorstanje in #249 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions