samedi 10 mars 2018

Does gtest/gmock have a way to stub every instance of a class?

Is it possible to stub every instance of a class in C++ using GTest/GMock like RSpec has with any_instance? Read the docs but couldn't find anything on it.

Thanks.

Aucun commentaire:

Enregistrer un commentaire