xref: /aosp_15_r20/external/kotlinx.coroutines/integration-testing/README.md (revision 7a7160fed73afa6648ef8aa100d4a336fe921d9a)
1*7a7160feSAndroid Build Coastguard Worker# Integration tests
2*7a7160feSAndroid Build Coastguard Worker
3*7a7160feSAndroid Build Coastguard WorkerThis is a supplementary project that provides integration tests.
4*7a7160feSAndroid Build Coastguard Worker
5*7a7160feSAndroid Build Coastguard WorkerThe tests are the following:
6*7a7160feSAndroid Build Coastguard Worker* `mavenTest` depends on the published artifacts and tests artifacts binary content for absence of atomicfu in the classpath.
7*7a7160feSAndroid Build Coastguard Worker* `jvmCoreTest` miscellaneous tests that check the behaviour of `kotlinx-coroutines-core` dependency in a smoke manner.
8*7a7160feSAndroid Build Coastguard Worker* `coreAgentTest` checks that `kotlinx-coroutines-core` can be run as a Java agent.
9*7a7160feSAndroid Build Coastguard Worker* `debugAgentTest` checks that the coroutine debugger can be run as a Java agent.
10*7a7160feSAndroid Build Coastguard Worker* `debugDynamicAgentTest` checks that `kotlinx-coroutines-debug` agent can self-attach dynamically to JVM as a standalone dependency.
11*7a7160feSAndroid Build Coastguard Worker* `smokeTest` builds the multiplatform test project that depends on coroutines.
12*7a7160feSAndroid Build Coastguard Worker
13*7a7160feSAndroid Build Coastguard WorkerThe `integration-testing` project is expected to be in a subdirectory of the main `kotlinx.coroutines` project.
14*7a7160feSAndroid Build Coastguard Worker
15*7a7160feSAndroid Build Coastguard WorkerTo run all the available tests: `./gradlew publishToMavenLocal` + `cd integration-testing` + `./gradlew check`.
16