- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 40 for scalatest (0.19 sec)
-
platforms/software/build-init/src/main/java/org/gradle/buildinit/plugins/internal/model/Description.java
Language.GROOVY, SPOCK, singletonList(SPOCK), "groovy", null ); public final static Description SCALA = new Description( Language.SCALA, SCALATEST, singletonList(SCALATEST), "scala", null ); public final static Description KOTLIN = new Description( Language.KOTLIN, KOTLINTEST, asList(KOTLINTEST, JUNIT_JUPITER),
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Mar 18 07:33:54 UTC 2024 - 3.6K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/scala/scala3/groovy/src/test/scala/org/gradle/sample/PersonSpec.scala
package org.gradle.sample import org.junit.runner.RunWith import org.scalatest.FunSpec import org.scalatest.junit.JUnitRunner @RunWith(classOf[JUnitRunner]) class PersonSpec extends FunSpec: describe("create a person") { it("should succeed for scala") { val person: Named = new Person(List("bob smith")) person }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 342 bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/scala/scala3/kotlin/src/test/scala/org/gradle/sample/PersonSpec.scala
package org.gradle.sample import org.junit.runner.RunWith import org.scalatest.FunSpec import org.scalatest.junit.JUnitRunner @RunWith(classOf[JUnitRunner]) class PersonSpec extends FunSpec: describe("create a person") { it("should succeed for scala") { val person: Named = new Person(List("bob smith")) person }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 341 bytes - Viewed (0) -
platforms/software/build-init/src/main/resources/org/gradle/buildinit/tasks/templates/scalalibrary/LibrarySuite.scala.template
${fileComment.multilineComment}${packageDecl.statement} import org.scalatest.funsuite.AnyFunSuite import org.junit.runner.RunWith import org.scalatestplus.junit.JUnitRunner @RunWith(classOf[JUnitRunner]) class LibrarySuite extends AnyFunSuite { test("someLibraryMethod is always true") { def library = new Library() assert(library.someLibraryMethod()) }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Dec 26 19:39:09 UTC 2023 - 369 bytes - Viewed (0) -
platforms/software/build-init/src/main/java/org/gradle/buildinit/plugins/internal/LanguageLibraryProjectInitDescriptor.java
case SCALATEST: BuildScriptBuilder.SuiteSpec suiteSpec = buildScriptBuilder.testing().junitSuite(name, libraryVersionProvider); String scalaVersion = libraryVersionProvider.getVersion("scala"); String scalaTestVersion = libraryVersionProvider.getVersion("scalatest");
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Oct 18 14:16:33 UTC 2023 - 3.9K bytes - Viewed (0) -
platforms/software/build-init/src/main/java/org/gradle/buildinit/plugins/internal/modifiers/BuildInitTestFramework.java
import java.util.List; public enum BuildInitTestFramework implements WithIdentifier { NONE("none"), JUNIT("JUnit 4"), TESTNG("TestNG"), SPOCK("Spock"), KOTLINTEST("kotlin.test"), SCALATEST("ScalaTest"), JUNIT_JUPITER("JUnit Jupiter"), XCTEST("XCTest"), CPPTest("C++ executable"); public static List<String> listSupported() { List<String> result = new ArrayList<>();
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Jan 24 19:41:01 UTC 2024 - 1.6K bytes - Viewed (0) -
testing/smoke-test/src/smokeTest/resources/org/gradle/smoketests/play-example/test/IntegrationSpec.scala
import org.junit.runner.RunWith import org.scalatest.junit.JUnitRunner import org.scalatestplus.play._ import org.scalatestplus.play.guice.GuiceOneServerPerTest @RunWith(classOf[JUnitRunner]) class IntegrationSpec extends PlaySpec with OneBrowserPerTest with GuiceOneServerPerTest with HtmlUnitFactory with ServerProvider { "Application" should { "work from within a browser" in { go to ("http://localhost:" + port)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 518 bytes - Viewed (0) -
platforms/jvm/scala/src/integTest/groovy/org/gradle/scala/test/ScalaTestIntegrationTest.groovy
testImplementation "junit:junit:4.13" } """ when: file("src/test/scala/MultiLineNameTest.scala") << """ package org.gradle import org.scalatest.FunSuite import org.junit.runner.RunWith import org.scalatest.junit.JUnitRunner @RunWith(classOf[JUnitRunner]) class MultiLineSuite extends FunSuite { test("This test method name\\nspans many\\nlines") { assert(1 === 1) } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 18 15:43:33 UTC 2023 - 2.1K bytes - Viewed (0) -
platforms/software/build-init/src/main/java/org/gradle/buildinit/plugins/internal/JvmLibraryProjectInitDescriptor.java
case JUNIT: case KOTLINTEST: return "LibraryTest"; case JUNIT_JUPITER: return "junitjupiter/LibraryTest"; case SCALATEST: return "LibrarySuite"; default: throw new IllegalArgumentException(); } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Oct 18 14:16:33 UTC 2023 - 3.3K bytes - Viewed (0) -
platforms/software/build-init/src/main/resources/org/gradle/buildinit/tasks/templates/scalaapplication/AppSuite.scala.template
${fileComment.multilineComment}${packageDecl.statement} import org.scalatest.funsuite.AnyFunSuite import org.junit.runner.RunWith import org.scalatestplus.junit.JUnitRunner @RunWith(classOf[JUnitRunner]) class AppSuite extends AnyFunSuite { test("App has a greeting") { assert(App.greeting() != null) }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Dec 26 19:39:09 UTC 2023 - 314 bytes - Viewed (0)