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.65 tracks/scala/testgen/src/main/scala/BeerSongTestGenerator.scala
trackler-2.2.1.64 tracks/scala/testgen/src/main/scala/BeerSongTestGenerator.scala
trackler-2.2.1.63 tracks/scala/testgen/src/main/scala/BeerSongTestGenerator.scala
trackler-2.2.1.62 tracks/scala/testgen/src/main/scala/BeerSongTestGenerator.scala
trackler-2.2.1.61 tracks/scala/testgen/src/main/scala/BeerSongTestGenerator.scala
trackler-2.2.1.60 tracks/scala/testgen/src/main/scala/BeerSongTestGenerator.scala
trackler-2.2.1.59 tracks/scala/testgen/src/main/scala/BeerSongTestGenerator.scala
trackler-2.2.1.58 tracks/scala/testgen/src/main/scala/BeerSongTestGenerator.scala
trackler-2.2.1.57 tracks/scala/testgen/src/main/scala/BeerSongTestGenerator.scala
trackler-2.2.1.56 tracks/scala/testgen/src/main/scala/BeerSongTestGenerator.scala
trackler-2.2.1.55 tracks/scala/testgen/src/main/scala/BeerSongTestGenerator.scala
trackler-2.2.1.54 tracks/scala/testgen/src/main/scala/BeerSongTestGenerator.scala
trackler-2.2.1.53 tracks/scala/testgen/src/main/scala/BeerSongTestGenerator.scala
trackler-2.2.1.52 tracks/scala/testgen/src/main/scala/BeerSongTestGenerator.scala
trackler-2.2.1.51 tracks/scala/testgen/src/main/scala/BeerSongTestGenerator.scala
trackler-2.2.1.50 tracks/scala/testgen/src/main/scala/BeerSongTestGenerator.scala
trackler-2.2.1.49 tracks/scala/testgen/src/main/scala/BeerSongTestGenerator.scala
trackler-2.2.1.48 tracks/scala/testgen/src/main/scala/BeerSongTestGenerator.scala
trackler-2.2.1.47 tracks/scala/testgen/src/main/scala/BeerSongTestGenerator.scala
trackler-2.2.1.46 tracks/scala/testgen/src/main/scala/BeerSongTestGenerator.scala