kboyd / Roc

Everything ROC and Precision-Recall curves.
BSD 2-Clause "Simplified" License
23 stars 7 forks source link

Language-agnostic test definitions #13

Open afbarnard opened 11 years ago

afbarnard commented 11 years ago

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 commented 11 years ago

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