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

Structured data (like json, toml, yaml) asserts in trycmd #93

Open
epage opened this issue Apr 22, 2022 · 2 comments
Open

Structured data (like json, toml, yaml) asserts in trycmd #93

epage opened this issue Apr 22, 2022 · 2 comments
Labels
A-trycmd Area: trycmd package enhancement Improve the expected

Comments

@epage
Copy link
Contributor

epage commented Apr 22, 2022

Building on #92, it'd be great to have structured data handling in trycmd to allow irrelevant details to be glossed over and for smarter wildcards.

@epage
Copy link
Contributor Author

epage commented Apr 22, 2022

We could have feature flags per format.

We probably also want to allow tests to enable which formats should be handled. This would be the structured-data version of text-vs-binary.

@epage
Copy link
Contributor Author

epage commented Apr 23, 2022

We need to allow ways to opt-out of "ignoring the irrelevant details" because things like formatting can be important for people to test.

Most likely, someone will only need a fraction of their structured-data tests to focus on formatting vs the rest focusing on various cases for the content of the data.

See also discussions in #91, #95

CC @MiSawa

@epage epage added the A-trycmd label Apr 28, 2022
@settings settings bot removed the A-trycmd label Aug 14, 2023
@epage epage added the A-trycmd Area: trycmd package label Feb 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-trycmd Area: trycmd package enhancement Improve the expected
Projects
None yet
Development

No branches or pull requests

1 participant