-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Test for #3305 Co-authored-by: Vsevolod Tolstopyatov <qwwdfsad@gmail.com> Co-authored-by: dkhalanskyjb <52952525+dkhalanskyjb@users.noreply.github.com>
- Loading branch information
1 parent
c4cd1fd
commit f101f93
Showing
16 changed files
with
462 additions
and
47 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,13 @@ | ||
# Integration tests | ||
|
||
This is a supplementary subproject of kotlinx.coroutines that provides | ||
integration tests. | ||
This is a supplementary project that provides integration tests. | ||
|
||
The tests are the following: | ||
* `NpmPublicationValidator` tests that version of NPM artifact is correct and that it has neither source nor package dependencies on atomicfu | ||
In order for the test to work, one needs to run gradle with `-PdryRun=true`. | ||
`-PdryRun` affects `npmPublish` so that it only provides a packed publication | ||
and does not in fact attempt to send the build for publication. | ||
* `MavenPublicationValidator` depends on the published artifacts and tests artifacts binary content and absence of atomicfu in the classpath | ||
* `MavenPublicationValidator` depends on the published artifacts and tests artifacts binary content and absence of atomicfu in the classpath. | ||
* `CoreAgentTest` checks that `kotlinx-coroutines-core` can be run as a Java agent. | ||
* `DebugAgentTest` checks that the coroutine debugger can be run as a Java agent. | ||
* `smokeTest` builds the test project that depends on coroutines. | ||
|
||
All the available tests can be run with `integration-testing:test`. | ||
The `integration-testing` project is expected to be in a subdirectory of the main `kotlinx.coroutines` project. | ||
|
||
To run all the available tests: `cd integration-testing` + `./gradlew check`. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
kotlin_version=1.6.21 | ||
coroutines_version=1.6.2-SNAPSHOT | ||
|
||
kotlin.code.style=official |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
distributionBase=GRADLE_USER_HOME | ||
distributionPath=wrapper/dists | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-7.4.2-all.zip | ||
zipStoreBase=GRADLE_USER_HOME | ||
zipStorePath=wrapper/dists |
Oops, something went wrong.