The unit tests documentation in the Contributor’s manual offers a good introduction to unit testing and some technical hints for writing them. However, I believe we could add more information and make it more easy to follow for newcomers (at least when I wanted to write and run some tests, I found it rather austere).
What I think can be be added/enhanced:
- how to run the tests (full suite, single tests)
- how to compile tests
- env variables that affect tests
- link to kde guide - good intro to qttest
- export KRITA_NO_ASSERT_MSG=1 # disable safe assert windows