Hardwar
Hardwar copied to clipboard
Currently no good solution to testing code that depends upon Ogre
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.