-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ANCHOR-461] Extract extended tests from essential tests (#1191)
### Description - Renamed `integration-tests` to `essential-tests` - Introduce `testFixtures` to improve test code share - Extracted extended tests to `extended-tests` subproject.
- Loading branch information
Showing
127 changed files
with
1,110 additions
and
1,046 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
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
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
2 changes: 1 addition & 1 deletion
2
.run/Test - Fireblocks End2End with RPC Test - no fullstack.run.xml
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
2 changes: 1 addition & 1 deletion
2
.run/Test - Fireblocks End2End with RPC Test - with fullstack.run.xml
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
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
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 |
---|---|---|
@@ -0,0 +1,48 @@ | ||
// The alias call in plugins scope produces IntelliJ false error which is suppressed here. | ||
@Suppress("DSL_SCOPE_VIOLATION") | ||
plugins { | ||
`java-library` | ||
`java-test-fixtures` | ||
alias(libs.plugins.spring.boot) | ||
alias(libs.plugins.spring.dependency.management) | ||
alias(libs.plugins.kotlin.jvm) | ||
} | ||
|
||
repositories { maven { url = uri("https://oss.sonatype.org/content/repositories/snapshots") } } | ||
|
||
dependencies { | ||
testFixturesImplementation(libs.assertj.core) | ||
testFixturesImplementation(libs.httpclient) | ||
testFixturesImplementation(libs.kotlin.serialization.json) | ||
|
||
// Stellar dependencies | ||
testFixturesImplementation(libs.stellar.wallet.sdk) | ||
testFixturesImplementation(variantOf(libs.java.stellar.sdk) { classifier("uber") }) | ||
|
||
// Spring dependencies | ||
testFixturesImplementation("org.springframework.boot:spring-boot-starter-data-jpa") | ||
testFixturesImplementation("org.springframework.boot:spring-boot-starter-web") | ||
|
||
// project dependencies | ||
testFixturesImplementation(project(":api-schema")) | ||
testFixturesImplementation(project(":core")) | ||
testFixturesImplementation(project(":platform")) | ||
testFixturesImplementation(project(":kotlin-reference-server")) | ||
testFixturesImplementation(project(":wallet-reference-server")) | ||
testFixturesImplementation(project(":service-runner")) | ||
testFixturesImplementation(project(":lib-util")) | ||
} | ||
|
||
tasks { bootJar { enabled = false } } | ||
|
||
// The following is to enable test concurrency | ||
apply(from = "$rootDir/scripts.gradle.kts") | ||
@Suppress("UNCHECKED_CAST") | ||
val enableTestConcurrency = extra["enableTestConcurrency"] as (Test) -> Unit | ||
|
||
tasks.test { | ||
enableTestConcurrency(this) | ||
exclude("**/org/stellar/anchor/platform/*Test.class") | ||
exclude("**/org/stellar/anchor/platform/integrationtest/**") | ||
exclude("**/org/stellar/anchor/platform/e2etest/**") | ||
} |
File renamed without changes.
File renamed without changes.
6 changes: 4 additions & 2 deletions
6
...latform/suite/AbstractIntegrationTests.kt → ...tellar/anchor/AbstractIntegrationTests.kt
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
2 changes: 1 addition & 1 deletion
2
...g/stellar/anchor/platform/TestAccounts.kt → ...kotlin/org/stellar/anchor/TestAccounts.kt
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
Oops, something went wrong.