Open ChristoferAlexander opened 7 months ago
@Daeda88 do you see any issues with having @IntegrationTest in kaluga? Also what would be the process to have a common test run as an integration test on Android (Create the task and configure gradle)? I know iOS has no issues running integration tests as it anyway runs all tests on a sim.
Problem is that when you write a library, you can only export the main libraries. That's a problem for Android where you don't have an instrumentationMain or anything. So it's difficult to make this work
That's a good point we didn't consider @Daeda88.
I suspect it can be done with the correct gradle module metadata but indeed a bit non-trivial to sort out.
The "easy" way is probably to manually specify dependencies for each sourceset, but then you might as well copy/paste the annotations to each sourceset.
Is your feature request related to a problem? Please describe.
As proposed by @thoutbeckers here we could do with a test-annotations module on kaluga to gather all commonly used testing annotations.
Describe the solution you'd like
Create annotation for ignoring tests on JavaScript
@IgnoreJs
Create similar annotations for Jvm and iOS.
Create annotation for running common tests as integration tests @IntegrationTest