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 multiple directives prep work #170

Merged
merged 7 commits into from
Jul 29, 2023
Merged

Conversation

jnikula
Copy link
Owner

@jnikula jnikula commented Jul 22, 2023

To properly test directives where the source file is not specified, we'll need testcases to support multiple directives. This is prep work for that, converting the schema to support a list of directives.

Prepare for multiple directives per testcase by adding an abstraction
for directives.
Clean up the code, although it's not likely we'll use multiple
directives in cli tests.
Prepare for supporting multiple directives per testcase.
Prepare for supporting multiple directives per testcase.
Do not support multiple directives per example for the time being, but
use the same abstraction nonetheless.
The current testcase yaml schema does not lend itself to support
multiple directives. Move all directive related options under a
'directives' list that can have an arbitrary number of directives.
Convert autostruct.yaml to a multiple directive testcase.
@jnikula jnikula mentioned this pull request Jul 22, 2023
@jnikula jnikula merged commit f556aea into master Jul 29, 2023
4 checks passed
@jnikula jnikula deleted the test-multiple-directives branch July 29, 2023 09:07
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

Successfully merging this pull request may close these issues.

None yet

1 participant