Sha256: 84fb481dd9c166679b22e39ed92b1dc4b38c0d79243685f84b68af2919924163

Contents?: true

Size: 490 Bytes

Versions: 139

Compression:

Stored size: 490 Bytes

Contents

import testgen._
import TestSuiteBuilder._
import java.io.File

object BeerSongTestGenerator {
  def main(args: Array[String]): Unit = {
    val file = new File("src/main/resources/beer-song.json")

    val code = TestSuiteBuilder.build(file,
        fromLabeledTestAlt("verse" -> Seq("number"), "verses" -> Seq("beginning", "end")))
    println(s"-------------")
    println(code)
    println(s"-------------")

    TestSuiteBuilder.writeToFile(code, new File("BeerSongTest.scala"))
  }
}

Version data entries

139 entries across 139 versions & 1 rubygems

Version Path
trackler-2.2.1.45 tracks/scala/testgen/src/main/scala/BeerSongTestGenerator.scala
trackler-2.2.1.44 tracks/scala/testgen/src/main/scala/BeerSongTestGenerator.scala
trackler-2.2.1.43 tracks/scala/testgen/src/main/scala/BeerSongTestGenerator.scala
trackler-2.2.1.42 tracks/scala/testgen/src/main/scala/BeerSongTestGenerator.scala
trackler-2.2.1.41 tracks/scala/testgen/src/main/scala/BeerSongTestGenerator.scala
trackler-2.2.1.40 tracks/scala/testgen/src/main/scala/BeerSongTestGenerator.scala
trackler-2.2.1.39 tracks/scala/testgen/src/main/scala/BeerSongTestGenerator.scala
trackler-2.2.1.38 tracks/scala/testgen/src/main/scala/BeerSongTestGenerator.scala
trackler-2.2.1.37 tracks/scala/testgen/src/main/scala/BeerSongTestGenerator.scala
trackler-2.2.1.36 tracks/scala/testgen/src/main/scala/BeerSongTestGenerator.scala
trackler-2.2.1.35 tracks/scala/testgen/src/main/scala/BeerSongTestGenerator.scala
trackler-2.2.1.34 tracks/scala/testgen/src/main/scala/BeerSongTestGenerator.scala
trackler-2.2.1.33 tracks/scala/testgen/src/main/scala/BeerSongTestGenerator.scala
trackler-2.2.1.32 tracks/scala/testgen/src/main/scala/BeerSongTestGenerator.scala
trackler-2.2.1.31 tracks/scala/testgen/src/main/scala/BeerSongTestGenerator.scala
trackler-2.2.1.30 tracks/scala/testgen/src/main/scala/BeerSongTestGenerator.scala
trackler-2.2.1.29 tracks/scala/testgen/src/main/scala/BeerSongTestGenerator.scala
trackler-2.2.1.28 tracks/scala/testgen/src/main/scala/BeerSongTestGenerator.scala
trackler-2.2.1.27 tracks/scala/testgen/src/main/scala/BeerSongTestGenerator.scala
trackler-2.2.1.26 tracks/scala/testgen/src/main/scala/BeerSongTestGenerator.scala