-
Notifications
You must be signed in to change notification settings - Fork 199
More unit test improvements #682
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
Conversation
I plan to continue through this, just wanted to submit it in case: 1) Anyone hated how I'd changed things. 2) You'd know it was being worked on 😉 This isn't a blocker for 1.8.0. |
1ae37c3
to
ad05a23
Compare
d2453f5
to
31caefc
Compare
Codecov Report
📣 This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more @@ Coverage Diff @@
## main #682 +/- ##
============================================
- Coverage 92.64% 92.61% -0.04%
+ Complexity 2624 2610 -14
============================================
Files 284 283 -1
Lines 5356 5319 -37
Branches 581 574 -7
============================================
- Hits 4962 4926 -36
Misses 248 248
+ Partials 146 145 -1
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
src/test/java/net/datafaker/providers/base/AbstractBasicProviderTest.java
Outdated
Show resolved
Hide resolved
e2d4cb2
to
3398998
Compare
No longer WIP, ready for review. |
I didn't get where regex is checked in new way? |
bc4f38f
to
3a9bf31
Compare
Ugh, thanks. I lost it along the way in some step of the implementation/re-implementation. Fixed now. |
3a9bf31
to
a17cda7
Compare
@snuyanzin I think I've addressed both your concerns. I put the Pattern.compile inside the regex assertion, let me know if you think it should be in the |
a17cda7
to
8591fca
Compare
- BaseFakerTest.java > Allow callers to optionally specify a regex to match against. - UnitTest classes > Use newer unit test infrastructure where practical. Signed-off-by: kingthorin <kingthorin@users.noreply.github.com>
8591fca
to
5937e66
Compare
Fixed the build/test failure. |
Signed-off-by: kingthorin kingthorin@users.noreply.github.com