Hardwar icon indicating copy to clipboard operation
Hardwar copied to clipboard

Currently no good solution to testing code that depends upon Ogre

Open andrewfenn opened this issue 11 years ago • 0 comments

Mocking the entirety of Ogre would be a massive undertaking however I currently see no other way of being able to run code that depends upon Ogre::Root, Ogre::SceneManager, etc otherwise the unit tests would be creating render windows which is something I do not want to happen.

I've already played around a lot with both the Amop and Gmocks libraries. if anyone wishes to pick this up then I have a preference for Amop over Gmocks as it better integrates with UnitTest++ and does what I expect of a mocking library without creating a mess in my console.

andrewfenn avatar Apr 20 '13 07:04 andrewfenn