Skip to content

Allow specification of overloaded class methods in test doubles #17

@msabbott

Description

@msabbott

When creating a test double (either a Stub or a Mock,) you are not able to specify the return value, output parameter values, or the expectations on a class method that has overloaded parameters.

Although the existing implementation of OEMock will function if the values are set on the objects, there is no way to specify which overloaded method they should be attached to. Instead, they are simply added to the first method found with that name.

A sensible naming system should be defined which allows these methods to be identified.

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions