I've created a small widget and now learning how to deal with unit tests.
I found this tutorial https://starttorun.info/tutorial-how-to-create-connect-iq-unit-test-project/ that says that the test-code ends up being compiled in to the release and advised to keep it in a separate project. Next it says to link the app project and the test project in eclipse, but I could not find a way to do that with VS-Code.
So the solution I came up with is to create an own project in a separate folder and using soft-links `ln -s ..` to get all the code across to the test folder. Git seems to understand links these days. see https://github.com/individual-it/BatteryGuesstimate/pull/1
Where do you keep the unit tests? Is there a better way?