2023-03-06, 06:18
Is there a test suite in Kodi?
If so, how do I run it?
Background:
I've just made some changes to my local development copy of Kodi. I have also found a directory with what seems to a be a collection of test cases residing in '/xbmc-master/xbmc/test'. I would like to be a good citizen and add some test cases for my changes.
Because the change that I made related to date formatting, I wanted to add a test in '/xbmc-master/xbmc/test/TestDateTime.cpp' to ensure that there was a methodical way for future/automated testers to ensure that the changes work as planned and that nothing else got broken.
I could just change 'TestDateTime.cpp' and hope for the best, however, I would really like to be able to execute the test too.
If so, how do I run it?
Background:
I've just made some changes to my local development copy of Kodi. I have also found a directory with what seems to a be a collection of test cases residing in '/xbmc-master/xbmc/test'. I would like to be a good citizen and add some test cases for my changes.
Because the change that I made related to date formatting, I wanted to add a test in '/xbmc-master/xbmc/test/TestDateTime.cpp' to ensure that there was a methodical way for future/automated testers to ensure that the changes work as planned and that nothing else got broken.
I could just change 'TestDateTime.cpp' and hope for the best, however, I would really like to be able to execute the test too.