Test methods/classes excluded from build

I have some questions regarding testing and building a release version of an app.

I currently have some tests to test my app and I have some helper classes and some helper functions in my code for these tests. All the tests plus helpers are organised in a single directory source/t.

From reading https://developer.garmin.com/connect-iq/core-topics/unit-testing/ I understand that (:test) annotation functions are excluded from the build. However, my helper class/functions don't have this annotation. It is also a not possible to add them because the (:test) annotation requires a logger as input param and I don't have/want that for my helper functions.

I looked at the documentation of Jungle files, but I'm unable to figure out if I can exclude annotations for a release build.
I did see that base.sourcePath can exclude the testdirectory, but I'm unable to run the testsuite at that time.


My questions are:

* Are only (:test) annotation functions excluded for a release build?
* Is there a way to exclude a whole directory during a release build?