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
Report Evaluation Result After notToThrow() #628
Comments
Good input and I agree. I would just use |
I'm a new contributor. |
Great! This one isn't a good first issue though, but you can give it a try. I don't know it by heart but the change is most likely in DefaultFun0Assertions. We probably use changeSubject but should use extractFeature in order to get the reporting we want |
Thanks for the tips. |
@sharibj I created a bunch of good first issues which are fairly easy in case you would like to switch |
@sharibj unassigning you so that others can take over |
@jGleitz I would be interested on your opinion. I am going to change feature exceptions in general with this change so that they catch exceptions in case feature extraction fails and shows them, like we already did for notToThrow. notToThrow will then just be an alias for
the following report
vs
|
Many times it really helps to just ask someone (even if virtual). I prefer the first solution. Convince me otherwise ? |
- re-use this for notToThrow, change to feature extraction as we want to show the value in case of a success (fixes #628) - remove genericFeature and genericSubjectBasedFeature based on MetaFeature from logic
- re-use this for notToThrow, change to feature extraction as we want to show the value in case of a success (fixes #628) - remove genericFeature and genericSubjectBasedFeature based on MetaFeature from logic
Challenge accepted! I prefer the second solution for two reasons:
|
I am always glad to be your sparring partners for design discussions. Even if it is just rubber duck design debugging :) |
I see your point, I had the same thoughts kind of but just the opposite: I want too see as quickly as possible which assertion failed. So in case my test has multiple |
- re-use this for notToThrow, change to feature extraction as we want to show the value in case of a success (fixes #628) - remove genericFeature and genericSubjectBasedFeature based on MetaFeature from logic
- re-use this for notToThrow, change to feature extraction as we want to show the value in case of a success (fixes #628) - remove genericFeature and genericSubjectBasedFeature based on MetaFeature from logic
Platform (all, jvm, js, android): all
Extension (none, kotlin 1.3): none
Code related feature
leads to the output:
which does not show me the result of evaluating the subject.
Describe the solution you'd like
The subject after
notToThrow()
should be reported. Something like:Describe alternatives you've considered
none
The text was updated successfully, but these errors were encountered: