Unit Test
Provides a great opportunity to write and refactor your code to follow a TDD process. More often than not we're usually tempted to skip this part. If the plugin skeleton was prepared using the Plugin Builder
tool then the plugin folder will have some boiler-plate tests that are auto-generated. But this shouldn't be a reason to add more Unittests for the codebase.
Some community-driven tools for the QT GUI test include; Qtest
, pytest-qt
1, 2 respectively.
This comes in handy for future support and a clear outline for a future guideline for new contributors.