deed_test
Run a Deed program's tests and property checks, outputting each result with the failing diagnostic and a final summary. Reports when there are no tests, and refuses if the program does not check.
Instructions
Run a Deed program's tests: every test block in it, and every property its contracts generate. Writes one JSON object a line with the name and whether it passed, and the failing diagnostic when it did not, then a summary line counting them, so a program with no tests in it says so rather than answering with nothing. A property line is one nobody wrote: the checker generated inputs from a where clause and held the function to its ensures, and the seed is on the line so the same run can be asked for again. Refuses without running when the program does not check: ask deed_check for what is wrong with it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source | Yes | The whole text of one Deed module. |