2014-02-23, 21:52
I want to write some tests for my addons. The problem seems to be that libraries such as xbmc, cbmcgui, xbmcaddon ... don't exist in a regular python environment and can't be added to the pythonpath. (I couldn't find anything in the main xbmc install that could be added)
So how do people get around this? Does anyone have xbmc addon test code they can show me?
I'm fumbling through python mock but it's a bit tricky to get my head around.
So how do people get around this? Does anyone have xbmc addon test code they can show me?
I'm fumbling through python mock but it's a bit tricky to get my head around.