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.25 tracks/scala/testgen/src/main/scala/BeerSongTestGenerator.scala
trackler-2.2.1.24 tracks/scala/testgen/src/main/scala/BeerSongTestGenerator.scala
trackler-2.2.1.23 tracks/scala/testgen/src/main/scala/BeerSongTestGenerator.scala
trackler-2.2.1.22 tracks/scala/testgen/src/main/scala/BeerSongTestGenerator.scala
trackler-2.2.1.21 tracks/scala/testgen/src/main/scala/BeerSongTestGenerator.scala
trackler-2.2.1.20 tracks/scala/testgen/src/main/scala/BeerSongTestGenerator.scala
trackler-2.2.1.19 tracks/scala/testgen/src/main/scala/BeerSongTestGenerator.scala
trackler-2.2.1.18 tracks/scala/testgen/src/main/scala/BeerSongTestGenerator.scala
trackler-2.2.1.17 tracks/scala/testgen/src/main/scala/BeerSongTestGenerator.scala
trackler-2.2.1.16 tracks/scala/testgen/src/main/scala/BeerSongTestGenerator.scala
trackler-2.2.1.15 tracks/scala/testgen/src/main/scala/BeerSongTestGenerator.scala
trackler-2.2.1.14 tracks/scala/testgen/src/main/scala/BeerSongTestGenerator.scala
trackler-2.2.1.13 tracks/scala/testgen/src/main/scala/BeerSongTestGenerator.scala
trackler-2.2.1.12 tracks/scala/testgen/src/main/scala/BeerSongTestGenerator.scala
trackler-2.2.1.11 tracks/scala/testgen/src/main/scala/BeerSongTestGenerator.scala
trackler-2.2.1.10 tracks/scala/testgen/src/main/scala/BeerSongTestGenerator.scala
trackler-2.2.1.9 tracks/scala/testgen/src/main/scala/BeerSongTestGenerator.scala
trackler-2.2.1.8 tracks/scala/testgen/src/main/scala/BeerSongTestGenerator.scala
trackler-2.2.1.7 tracks/scala/testgen/src/main/scala/BeerSongTestGenerator.scala
trackler-2.2.1.6 tracks/scala/testgen/src/main/scala/BeerSongTestGenerator.scala