Skip to content

✨ Introduce stringMatching #3921

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
merged 6 commits into from
May 29, 2023
Merged

✨ Introduce stringMatching #3921

merged 6 commits into from
May 29, 2023

Conversation

dubzzz
Copy link
Owner

@dubzzz dubzzz commented May 29, 2023

Basic support fro strings matching a given regex.

Fixes #2980

Category:

  • ✨ Introduce new features
  • 📝 Add or update documentation
  • ✅ Add or update tests
  • 🐛 Fix a bug
  • 🏷️ Add or update types
  • ⚡️ Improve performance
  • Other(s): ...

Potential impacts:

  • Generated values
  • Shrink values
  • Performance
  • Typings
  • Other(s): ...

Sorry, something went wrong.

Basic support fro strings matching a given regex.

Fixes #2980
@codesandbox-ci
Copy link

codesandbox-ci bot commented May 29, 2023

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit f2e2576:

Sandbox Source
Vanilla Configuration

@codecov
Copy link

codecov bot commented May 29, 2023

Codecov Report

Merging #3921 (f2e2576) into main (768d96d) will decrease coverage by 0.15%.
The diff coverage is 81.33%.

@@            Coverage Diff             @@
##             main    #3921      +/-   ##
==========================================
- Coverage   94.92%   94.78%   -0.15%     
==========================================
  Files         207      208       +1     
  Lines        5560     5635      +75     
  Branches     1230     1259      +29     
==========================================
+ Hits         5278     5341      +63     
- Misses        266      278      +12     
  Partials       16       16              
Flag Coverage Δ
unit-tests 94.78% <81.33%> (-0.15%) ⬇️
unit-tests-14.x-Linux 94.78% <81.33%> (-0.15%) ⬇️
unit-tests-16.x-Linux 94.78% <81.33%> (-0.15%) ⬇️
unit-tests-18.x-Linux 94.78% <81.33%> (-0.15%) ⬇️
unit-tests-latest-Linux 94.78% <81.33%> (-0.15%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
.../src/arbitrary/_internals/helpers/TokenizeRegex.ts 92.96% <ø> (+1.56%) ⬆️
...ackages/fast-check/src/arbitrary/stringMatching.ts 80.82% <80.82%> (ø)
packages/fast-check/src/fast-check-default.ts 100.00% <100.00%> (ø)

dubzzz added 4 commits May 29, 2023 16:38

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
@dubzzz dubzzz merged commit 6cabbeb into main May 29, 2023
@dubzzz dubzzz deleted the introduce-string-matching branch May 29, 2023 17:39
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.

arbitrary: string matching regex
1 participant