Roc icon indicating copy to clipboard operation
Roc copied to clipboard

Language-agnostic test definitions

Open afbarnard opened this issue 12 years ago • 1 comments

Create language-agnostic test definitions to enable unified testing across languages and as a sort of implementation benchmark.

The idea is to mark up inputs and outputs in YAML and then have xUnit tests in each language read and execute the appropriate tests as if the unit tests were written specifically in that language. Such generic tests will have to focus more at the levels of features rather than implementation and so may be supplemented by specific unit tests for lower-level details (or for bugs, etc.).

afbarnard avatar Mar 29 '13 01:03 afbarnard

SnakeYaml (http://code.google.com/p/snakeyaml/) seems like a good YAML library for Java.

afbarnard avatar Mar 29 '13 01:03 afbarnard