Skip to content

case_sparql_select: Cross-test JSON output and --no-(header,index) flag branches #93

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

Merged

Conversation

ajnelson-nist
Copy link
Member

This patch series addresses issues with some parameter-values being compatible with some of the DataFrame table rendering functions, but not with certain orient parameters of the JSON rendering function. The incompatible pairings are now caught at parameter-parsing time.

If this PR is merged, it will also merge #90, #91, and #92.

This patch is code-motion to give function names to chunks of
`case_sparql_select:main`.

Some upcoming patch series are going to add features that, when taken
together, introduce non-trivial parameter-value cross-dependencies.

Moving functionality to functions enables combinatoric testing in a
`pytest` space, rather than resorting to copying, pasting, and tweaking
many Makefile lines.  A future patch series will add the `pytest`
script.

Signed-off-by: Alex Nelson <alexander.nelson@nist.gov>
No effects were observed on Make-managed files.

Signed-off-by: Alex Nelson <alexander.nelson@nist.gov>
The test pattern for these features encourages an enumerative approach,
so a `pytest` script exercising the freshly broken-out functions is now
included.

No effects were observed on Make-managed files.

Signed-off-by: Alex Nelson <alexander.nelson@nist.gov>
This patch addresses issues with some parameter-values being compatible
with some of the DataFrame table rendering functions, but not with
certain `orient` parameters of the JSON rendering function.  The
incompatible pairings are now caught at parameter-parsing time.

Signed-off-by: Alex Nelson <alexander.nelson@nist.gov>
@ajnelson-nist ajnelson-nist added this to the 0.9.0 milestone Dec 7, 2022
@ajnelson-nist ajnelson-nist marked this pull request as ready for review December 8, 2022 13:53
@kchason kchason merged commit d6761af into develop Dec 8, 2022
@kchason kchason deleted the case_sparql_select_cross_json_and_anno_flag_testing branch December 8, 2022 13:55
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.

2 participants