-
Notifications
You must be signed in to change notification settings - Fork 0
Automated testing
Various add-ons are using a set of stub modules in order to test their add-on outside of Kodi.
See xbmc modules in plugin.video.vrt.nu tests tree.
Integrating your testing into GitHub CI directly offers quite some advantages, and we have ready-to-go examples for both kodi-addon-checker, sanity checks as well as unit testing and even automated releases.
See plugin.video.vrt.nu workflows and CI output.
Once you start to automated testing, you would like to know how much of your add-on is covered by your tests. Codecov can help here.
Configured at the Add-ons organization level now, see Codecov output.
Sonarcloud can help to assess your code's quality by testing for common ill-practices, known security issues and antipatterns.
Configured in GitHub CI, see Sonarcloud output.