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
# There are a number of JVM args we use: | |
# -Djavax.net.ssl.trustStore=".assets/cacerts/java.cacerts" | |
# - Provide link to the cacerts to allow connections to internal nexus instance with self signed certificate. | |
# -Xmx3g | |
# - Launch the gradle daemon with 3gb of memory to speed up processing. | |
# -XX:+HeapDumpOnOutOfMemoryError | |
# - Take a heap dump if the gradle process goes out of memory | |
# -Dfile.encoding=UTF-8 | |
# - Assume all files are encoded in utf-8. | |
# |
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
import org.axonframework.serialization.Serializer; | |
import org.jeasy.random.EasyRandom; | |
import org.junit.jupiter.api.TestInstance; | |
import org.junit.jupiter.params.ParameterizedTest; | |
import org.junit.jupiter.params.provider.Arguments; | |
import org.junit.jupiter.params.provider.MethodSource; | |
import java.util.List; | |
import java.util.stream.Stream; |
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
/** | |
* Configuration for additional source sets for holding integration tests for the application. | |
* | |
* Resources used: | |
* - https://www.petrikainulainen.net/programming/gradle/getting-started-with-gradle-integration-testing/ | |
* - https://spin.atomicobject.com/2018/07/18/gradle-integration-tests/ | |
* - https://github.com/unbroken-dome/gradle-testsets-plugin | |
* | |
* Suggested Use: | |
* - Place this script in the `gradle` directory. |