Hi Adam Myszkowski,
You can check this article and mendix documentation to understand more about unit testing and automated unit testing:
https://www.mendix.com/evaluation-guide/app-lifecycle/develop/test-automation-quality-assurance/
https://docs.mendix.com/appstore/modules/unit-testing/
Thanks