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

feat: add briefs and generate autobriefs #71

Merged
merged 14 commits into from
Feb 23, 2025
Merged

Conversation

rich-iannone
Copy link
Member

This adds functionality for adding brief pieces of text for a validation step, and it also auto-generates autobriefs, which hold single-sentence expectation statements (one per step). On top of this, the lang= and locale= args have been added to the Validate class. This allows the autobriefs to be translated to the lang value (languages are: "en", "fr", "de", "it", "es", "pt", "tr", "zh", "ru", "pl", "da", "sv", and "nl").

@codecov-commenter
Copy link

Codecov Report

Attention: Patch coverage is 98.54015% with 2 lines in your changes missing coverage. Please review.

Project coverage is 99.15%. Comparing base (c5430a4) to head (b6b5786).

Files with missing lines Patch % Lines
pointblank/validate.py 98.50% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #71      +/-   ##
==========================================
- Coverage   99.18%   99.15%   -0.04%     
==========================================
  Files          14       15       +1     
  Lines        3057     3184     +127     
==========================================
+ Hits         3032     3157     +125     
- Misses         25       27       +2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@rich-iannone rich-iannone marked this pull request as ready for review February 23, 2025 17:50
@rich-iannone rich-iannone merged commit f49da95 into main Feb 23, 2025
4 checks passed
@rich-iannone rich-iannone deleted the feat-add-briefs branch February 23, 2025 17:50
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