You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently UTBot verifies only the state of the resulting Objects.
When a functional interface is returned there should be some verification of it.
At the moment there are only expected and actual - of Object type - without assertions: see bug #1034
Idea
Add verification of returned functional interface's behavior.
Generate some value to input to its method and compare with the expected value.
Fuzzing can be used for that.
Use cases
Functional interfaces returned from a method.
Potential alternatives
Check the Class of the returned functional interface.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Description
Currently UTBot verifies only the state of the resulting Objects.
When a functional interface is returned there should be some verification of it.
At the moment there are only expected and actual - of Object type - without assertions: see bug #1034
Idea
Add verification of returned functional interface's behavior.
Generate some value to input to its method and compare with the expected value.
Fuzzing can be used for that.
Use cases
Functional interfaces returned from a method.
Potential alternatives
Check the Class of the returned functional interface.
Example
Generate tests for the following code:
Expected result
Actual result
All reactions