Antares_Simulator icon indicating copy to clipboard operation
Antares_Simulator copied to clipboard

Mocking library for unit tests

Open sylvlecl opened this issue 1 year ago • 0 comments

Description

Some unit tests would benefit from using a mocking library, instead of hand-written mocks.

In particular, the UT introduced in pull request https://github.com/AntaresSimulatorTeam/Antares_Simulator/pull/1716 would be written more easily with that.

Solution

A natural candidate for this is google mock. Its usage will require to update the CI and documentation with that new dependency.

sylvlecl avatar Oct 31 '23 13:10 sylvlecl