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.105 tracks/scala/testgen/src/main/scala/BeerSongTestGenerator.scala
trackler-2.2.1.104 tracks/scala/testgen/src/main/scala/BeerSongTestGenerator.scala
trackler-2.2.1.103 tracks/scala/testgen/src/main/scala/BeerSongTestGenerator.scala
trackler-2.2.1.102 tracks/scala/testgen/src/main/scala/BeerSongTestGenerator.scala
trackler-2.2.1.101 tracks/scala/testgen/src/main/scala/BeerSongTestGenerator.scala
trackler-2.2.1.100 tracks/scala/testgen/src/main/scala/BeerSongTestGenerator.scala
trackler-2.2.1.99 tracks/scala/testgen/src/main/scala/BeerSongTestGenerator.scala
trackler-2.2.1.98 tracks/scala/testgen/src/main/scala/BeerSongTestGenerator.scala
trackler-2.2.1.97 tracks/scala/testgen/src/main/scala/BeerSongTestGenerator.scala
trackler-2.2.1.96 tracks/scala/testgen/src/main/scala/BeerSongTestGenerator.scala
trackler-2.2.1.95 tracks/scala/testgen/src/main/scala/BeerSongTestGenerator.scala
trackler-2.2.1.94 tracks/scala/testgen/src/main/scala/BeerSongTestGenerator.scala
trackler-2.2.1.93 tracks/scala/testgen/src/main/scala/BeerSongTestGenerator.scala
trackler-2.2.1.92 tracks/scala/testgen/src/main/scala/BeerSongTestGenerator.scala
trackler-2.2.1.91 tracks/scala/testgen/src/main/scala/BeerSongTestGenerator.scala
trackler-2.2.1.90 tracks/scala/testgen/src/main/scala/BeerSongTestGenerator.scala
trackler-2.2.1.89 tracks/scala/testgen/src/main/scala/BeerSongTestGenerator.scala
trackler-2.2.1.88 tracks/scala/testgen/src/main/scala/BeerSongTestGenerator.scala
trackler-2.2.1.87 tracks/scala/testgen/src/main/scala/BeerSongTestGenerator.scala
trackler-2.2.1.86 tracks/scala/testgen/src/main/scala/BeerSongTestGenerator.scala