Open Zomis opened 8 years ago
Also add $ expected 'filename'
to compare output with the contents of a file
Or add $ validator function
or $ validator 'externalGroovyScript'
that defines a boolean verify(String output)
to validate that the BF code does what it is supposed to (if not using a whole bunch of asserts)
For refactoring purposes, test one BF code by making sure it produces the same output as another BF code
For example:
$ testWith 'otherfile'
which will look forotherfile.bf
, run it, and will compare the output of the current code with that file