-
Notifications
You must be signed in to change notification settings - Fork 112
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
Add @idata(iterable)
decorator-function.
#40
Conversation
The flake8 fails in the TC class is unrelated to my modifications to the code. |
Current coverage is 100% (diff: 100%)@@ master #40 diff @@
===================================
Files 1 1
Lines 104 106 +2
Methods 0 0
Messages 0 0
Branches 0 0
===================================
+ Hits 104 106 +2
Misses 0 0
Partials 0 0
|
Sorry, this fell off my radar. I'd love to see some test and documentation. |
May I take charge of this PR and submit a new PR the same feature with tests and documentation? |
Of course! |
BTW in terms of memory efficiency: since If you need to test with large datasets, |
@ankostis FYI this is my current thinking about where to take this library, that use iterable test data as the base concept #44 (comment) |
The purpose is to avoid:: @DaTa(*[a for a in foo if a > 0])
@txels rebased, and all tests pass, as promised. |
Released in 1.1.1 Sorry about the delay in releasing. |
The purpose is to replace the construct below:
With this typing & memory-efficient alternative:
(*) It is a minor change that should not interfere with the possible re-write of the library in other branches.