Ask HN: How to Write Language-Agnostic Test Conditions for Any Test Framework?

2 points by pbowyer ↗ HN
I like writing test conditions (given this input, expect this output) for specs and algorithms - my current obsession is with RFC 3986. Since the subject is language-agnostic I'd like to make them usable by everyone no matter which programming language or testing framework they use.

Is there an established way to do this, to make them useful for people working with multiple testing frameworks?

2 comments

[ 3.9 ms ] story [ 21.7 ms ] thread
Gerkin/cucumber?
That is the closest I've come up with; write BDD style tests in YAML that can be interpreted in multiple languages.

It just feels like this should be a solved problem beyond BDD...