A parameterized test: typed arguments from files

The complete source of forAI_validation_test.ek9, compiled by the EK9 compiler. Shown on forAI.html.

#!ek9
defines module site.forAI.shop.validationtests

  references
    site.forAI.shop::validate

  defines program

    @Test
    testValidation()
      //The runtime parses dev/validation/commandline_arg_1.txt into the typed parameter
      -> input as String
      stdout <- Stdout()
      result <- validate(input)
      stdout.println($result)

Download forAI_validation_test.ek9