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
Implements mocking for constructor invocations. #1975
Conversation
Codecov Report
@@ Coverage Diff @@
## native-instantiation #1975 +/- ##
==========================================================
- Coverage 85.01% 84.82% -0.19%
- Complexity 2617 2654 +37
==========================================================
Files 323 324 +1
Lines 7641 7877 +236
Branches 928 947 +19
==========================================================
+ Hits 6496 6682 +186
- Misses 890 927 +37
- Partials 255 268 +13
Continue to review full report at Codecov.
|
b19644e
to
b8b0468
Compare
ddb2acf
to
8643ffa
Compare
5be3769
to
3f35be8
Compare
8643ffa
to
562dc36
Compare
Are there any plans on when this will be released? I'm really looking forward for this feature. |
Many of us are on vacation at the time but likely some time in August. |
3c95578
to
106ebcf
Compare
As far as I can see, there is still no support to get the arguments of the constructor. Is it planed to be added at some point? Here is a small motivation. I usually use copy constructors if I want to copy objects. (I think Another suggestion: I think it would improve usability when |
3dd8675
to
26699e7
Compare
Good point, I refactored it to take a |
26699e7
to
961f6be
Compare
961f6be
to
12ce7ea
Compare
Already on master. |
Allows to declare all constructor invocations as mocking attempts.