diff --git a/gradle/templates/template-app/src/commonTest/kotlin/HelloWorldKotest.kt b/gradle/templates/template-app/src/commonTest/kotlin/HelloWorldKotest.kt index eaf764c..071beae 100644 --- a/gradle/templates/template-app/src/commonTest/kotlin/HelloWorldKotest.kt +++ b/gradle/templates/template-app/src/commonTest/kotlin/HelloWorldKotest.kt @@ -3,21 +3,21 @@ package opensavvy.playground.core import io.kotest.core.spec.style.FunSpec import opensavvy.prepared.runner.kotest.PreparedSpec -class HelloWorldKotestTest : PreparedSpec({ +class PlaygroundVerifyKotestAndPreparedCompat : PreparedSpec({ - test("Hello world!") { + test("Simplest possible test") { @Suppress("SimplifyBooleanWithConstants") // The compiler knows this test will always succeed check("Hello World!" == message) } - test("Yay • \u2606\u2606\u2606\u2606 Unicode!") { + test("Verify that unicode is supported in test names: \u2606\u2606\u2606\u2606") { // This test verifies that our CI is able to handle Unicode characters in test names. // See https://gitlab.com/gitlab-org/gitlab/-/issues/580885 } }) -class FooTest : FunSpec({ - test("test") { +class PlaygroundVerifyKotestCompat : FunSpec({ + test("Simplest possible test") { check(true) } }) diff --git a/gradle/templates/template-lib/src/commonTest/kotlin/HelloWorldTestBalloonTest.kt b/gradle/templates/template-lib/src/commonTest/kotlin/PlaygroundVerifyTestBalloonCompat.kt similarity index 61% rename from gradle/templates/template-lib/src/commonTest/kotlin/HelloWorldTestBalloonTest.kt rename to gradle/templates/template-lib/src/commonTest/kotlin/PlaygroundVerifyTestBalloonCompat.kt index e6a9052..8e60732 100644 --- a/gradle/templates/template-lib/src/commonTest/kotlin/HelloWorldTestBalloonTest.kt +++ b/gradle/templates/template-lib/src/commonTest/kotlin/PlaygroundVerifyTestBalloonCompat.kt @@ -2,15 +2,15 @@ package opensavvy.playground.core import opensavvy.prepared.runner.testballoon.preparedSuite -val HelloWorldTestBalloonTest by preparedSuite { +val PlaygroundVerifyTestBalloonCompat by preparedSuite { - test("Hello world!") { + test("Simplest possible test") { @Suppress("SimplifyBooleanWithConstants") // The compiler knows this test will always succeed check("Hello World!" == message) } - suite("Nested suite with Unicode \u2606") { - test("Yay • \u2606\u2606\u2606\u2606 Unicode!") { + suite("Verify that unicode is supported in suite names: \u2606") { + test("Verify that unicode is supported in test names: \u2606\u2606\u2606\u2606") { // This test verifies that our CI is able to handle Unicode characters in test names. // See https://gitlab.com/gitlab-org/gitlab/-/issues/580885 }