I work on a really old C++ project which has a huge DB I need to mock. I am trying to mock ifstream library in order to test the control on files, the problem is that I can't change my legacy code so i am having a hard time finding the abilty to mock without changing any piece of the code Thanks in advance
Aucun commentaire:
Enregistrer un commentaire