-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Repeating pattern values for BitAutoData attribute #5167
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #5167 +/- ##
==========================================
+ Coverage 43.70% 43.74% +0.03%
==========================================
Files 1472 1476 +4
Lines 67963 68146 +183
Branches 6161 6173 +12
==========================================
+ Hits 29703 29809 +106
- Misses 36963 37039 +76
- Partials 1297 1298 +1 ☔ View full report in Codecov by Sentry. |
New Issues
Fixed Issues
|
test/Common/AutoFixture/Attributes/RepeatingPatternBitAutoDataAttribute.cs
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
🎟️ Tracking
📔 Objective
BitAutoData
attribute, where instead of providing all possibilities of values for given argument one by one, hence duplicating the attribute over and over, you provide the possible values to test in array, resulting in one attribute, calledRepeatingPatternBitAutoData
.Before:
After:
Other examples: testing whether string is null, empty or contains whitespace
[RepeatingPatternBitAutoData([null, "", " "])
📸 Screenshots
⏰ Reminders before review
🦮 Reviewer guidelines
:+1:
) or similar for great changes:memo:
) or ℹ️ (:information_source:
) for notes or general info:question:
) for questions:thinking:
) or 💭 (:thought_balloon:
) for more open inquiry that's not quite a confirmed issue and could potentially benefit from discussion:art:
) for suggestions / improvements:x:
) or:warning:
) for more significant problems or concerns needing attention:seedling:
) or ♻️ (:recycle:
) for future improvements or indications of technical debt:pick:
) for minor or nitpick changes