issues
search
SvetlovA
/
static-mock
SMock is opensource lib for mocking static and instance methods and properties.
https://svetlova.github.io/static-mock/
MIT License
10
stars
3
forks
source link
Mock parametrize functions
#12
Closed
SvetlovA
closed
1 year ago
SvetlovA
commented
1 year ago
[Improve] Bodies of functions executes on mocking
[Implemented] Parametrized hook functions (support up to 9 parameters)
[Implemented] Methods mapping by parameters, to map owerridings
[Breaking changes] Removed async callbacks and returns. Use returns with functions
[Breaking changes] Removed return callbacks. Use returns with functions
[Breaking changes] Renamed IActionMock -> IActionMock
[Breaking changes] Renamed SetupVoid -> SetupAction for non-generic mocking
[Breaking changes] Callback available only for methods that returns void