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

Support case groups #27

Open
Julian opened this issue Sep 13, 2022 · 1 comment
Open

Support case groups #27

Julian opened this issue Sep 13, 2022 · 1 comment
Labels
enhancement New feature or request

Comments

@Julian
Copy link
Member

Julian commented Sep 13, 2022

Or generalize the notion itself of cases to groups.

Right now in the test suite we group cases by file (often by keyword).

We should reflect this structure in the report emitted by bowtie.

Backing off should perhaps take into account groups.

schema and registry (#14) are also probably in need of consideration after this is done -- right now they're per-case, but probably can be per-case-group, especially if the notions merge.

@Julian Julian added the enhancement New feature or request label Sep 13, 2022
Julian added a commit that referenced this issue Sep 23, 2022
Only does so at a per-case level. We'll evaluate other options in
#27. It's also possible some global-level request will be useful, which
we can also look at later.

Lets test cases reference arbitrary additional schemas for retrieval.

Also then makes the JSON-Schema-Test-Suite-specific support use this
new registry to pass along remotes/-directory schemas.

This is easier or harder with various implementations it seems, and it
may be I've missed some APIs here for an implementation or two.

Closes: #14.
Julian added a commit that referenced this issue Dec 12, 2023
These don't actually exist yet, but the schemas now do which is a start.

The rest of the work is mostly in Python-land now.

Refs: #27
@Julian
Copy link
Member Author

Julian commented Dec 12, 2023

The linked commit adds a schema for this at least.

To be considered now is that we likely should refrain from sending harnesses anything but "leaf" test groups (i.e. ones that match the current structure), and preserve the nesting only in reports / for the UI. That should be mostly feasible with the committed schema, just requires some modification of the TestCase class.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant