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