I would like to learn whether I can specify the @category in gradle test task. So, I can run separately integration junits and the normal junit tests.
I know that there is currently no explicit support for @category in gradle and I am looking for a workaround for this limitation.
The straightforward approach is to define test suits for different test categories, e.g., How to run all tests belonging to a certain Category in JUnit 4. I would prefer to specify @category in my gradle script.