Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update CLI Integration Tests to use JVM Test Suites (#3580)
* Part of KT-64200 - Migrate the CLI integration tests away from the custom integration test convention (which are not build-cache compatible) to use JVM Test Suites. - Remove shadowing, replace with passing in the JARs via system properties. (a custom CommandLineArgumentProvider is confusing and overly complicated, but it's required to satisfy Gradle input normalization, so that the build-cache can be re-used.) - Simplify `processUtils.kt` - the coroutines logic isn't necessary since the entrypoint just used `runBlocking {}`. - move `jsonBuilder.kt` test-util into `src/main`, since it's not a test - Rename `CliIntegrationTest` to `CliTest` (it wasn't an integration test, and the name was confusing compared to the actual `CliIntegrationTest`) * fix dokkaCli dependency resolution * exclude transitives from dokkaPluginsClasspath * create a dokka-config.json for each test in the temp directory, don't re-write a shared file in resources * add ticket to TODO * rm check fix * revert build.gradle.kts * re-add `required dependencies of plugin-base` comment * incrementally print stdout from Process * rm unnecessary coroutines dependency
- Loading branch information