GUI testing

While there is documentation for Kivy testing, it requires the installation of nose (an alternative testing library, similar to pytest) for unit testing and coverage to check how much code was tested. However, the documentation doesn't seem to have been updated within the last year, as it refers to the original nose program, which has been deprecated in favor of nose2.

You can use regular, non-graphical unit tests in your code. But, if you want to test the GUI itself, you have to set up the environment for that. We won't bother with automated testing for this project, though it is advised to do that for large-scale projects. Any new versions of the fuel farm scenario would include automated tests; but, for now, we will manually ...

Get Learn Programming in Python with Cody Jackson now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.