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

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

Open
mpkorstanje opened this issue Sep 11, 2024 · 0 comments
Open

Comments

@mpkorstanje
Copy link
Contributor

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)

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