-
-
Notifications
You must be signed in to change notification settings - Fork 211
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Smoke Spec #1205
Smoke Spec #1205
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Dark-Knight11 Thanks for the WIP was able to figure out the problem by debugging (in case you want to try it out as well. Set a break-point in io.kotest.framework.discovery.Discovery#doDiscovery)
bundles/fluent-en_GB/atrium-fluent-en_GB/src/jvmTest/kotlin/custom/SmokeSpec.kt
Outdated
Show resolved
Hide resolved
Bumps [scala-library](https://github.com/scala/scala) from 2.13.2 to 2.13.10. - [Release notes](https://github.com/scala/scala/releases) - [Commits](scala/scala@v2.13.2...v2.13.10) --- updated-dependencies: - dependency-name: org.scala-lang:scala-library dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
Bumps `junit.version` from 5.9.0 to 5.9.1. Updates `junit-jupiter` from 5.9.0 to 5.9.1 - [Release notes](https://github.com/junit-team/junit5/releases) - [Commits](junit-team/junit5@r5.9.0...r5.9.1) Updates `junit-jupiter-engine` from 5.9.0 to 5.9.1 - [Release notes](https://github.com/junit-team/junit5/releases) - [Commits](junit-team/junit5@r5.9.0...r5.9.1) --- updated-dependencies: - dependency-name: org.junit.jupiter:junit-jupiter dependency-type: direct:development update-type: version-update:semver-patch - dependency-name: org.junit.jupiter:junit-jupiter-engine dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
Migrated the SmokeSpec file from Spek to Kotest using Descibe Spec. Used Kotest version 4.2.3. In the latest Kotest Versions, min kotlin version is limited to 1.6 but atrium uses kotlin 1.3.2. Kotest 4.3.2 is the last version which is compatible with kotlin 1.3.x Will have to bump these version once Kotlin version is updated here. Resolves: robstoll#1202
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Dark-Knight11 just a tiny correction and we are good to merge
@@ -16,11 +18,16 @@ kotlin { | |||
api(prefixedProject("translations-en_GB")) | |||
} | |||
} | |||
val commonTest by getting { | |||
dependencies { | |||
implementation("io.kotest:kotest-runner-junit5:$kotestVersion") // for kotest framework |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Did not think about this beforehand. Use implementationWithExclude
this way we don't accidentally use the Kotlin version of kotest
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This way
implementation("io.kotest:kotest-runner-junit5:$kotestVersion") {
exclude(group = "org.jetbrains.kotlin", module = "kotlin-stdlib-jdk8")
}
or this way?
implementationWithExclude("io.kotest:kotest-runner-junit5:$kotestVersion")
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please the second
This way we don't accidentally use the Kotlin version of kotest Related: 1202
@Dark-Knight11 thanks for your first contribution to Atrium 🎉 |
Migrated smoke test from Spek to Kotest
Closes: #1202
I confirm that I have read the Contributor Agreements v1.0, agree to be bound on them and confirm that my contribution is compliant.