eranpeer / FakeIt

C++ mocking made easy. A simple yet very expressive, headers only library for c++ mocking.
MIT License
1.26k stars 175 forks source link

Maxsize in formatinvocationlist is not configurable #120

Open jeduden opened 6 years ago

jeduden commented 6 years ago

When asserting longer invocation sequences the exception description becomes unhelpful, because there is a hardcoded cutoff after the first 5 invocations.

https://github.com/eranpeer/FakeIt/blob/master/include/fakeit/DefaultEventFormatter.hpp#L113

Could this be it made configurable ?

FranckRJ commented 2 years ago

It was increased to 50 in commit b1c9067ddb8 which is in version 2.0.5. I guess it isn't that necessary to make it configurable then, because it's probably enough for anyone.

But if you think you can still need more than that, I'll make it configurable.