mix dextrin.conformance (Dextrin v0.2.0)

Copy Markdown View Source
$ mix dextrin.conformance REQUEST ANSWER

This implementation's adapter for the Dextrin Conformance Suite: reads the JSON request at REQUEST, answers every case (Dextrin.Conformance), and writes the JSON answer to ANSWER.

Exits non-zero only when the adapter itself cannot work — no request file, a request that is not JSON — never because a case failed: a failed case is an answer, and the suite judges it.