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

Assertion: Add Regex assert for string #85

Open
fdefelici opened this issue Dec 31, 2023 · 0 comments
Open

Assertion: Add Regex assert for string #85

fdefelici opened this issue Dec 31, 2023 · 0 comments
Labels
documentation Improvements or additions to documentation feature New feature or request impact-plugins Change that have an impact on ide plugins

Comments

@fdefelici
Copy link
Owner

Could be useful for integration testing when you have no control over logic preparing the string and exists some parts that are not deterministic.

This also could be used for improving clove-unit integration testing where the non-deterministic part is the test duration.

Api example:

CLOVE_STRING_REGEX(expected_with_regex, actual)

If expected_with_regex doesn't contain any regex, this should behave like CLOVE_STRING_EQ.

Related to #44

@fdefelici fdefelici added documentation Improvements or additions to documentation feature New feature or request impact-plugins Change that have an impact on ide plugins labels Dec 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation feature New feature or request impact-plugins Change that have an impact on ide plugins
Projects
None yet
Development

No branches or pull requests

1 participant