|
8 | 8 |
|
9 | 9 | ## [v1.1](https://github.com/thewizardplusplus/go-code-runner/tree/v1.1) (2021-03-27) |
10 | 10 |
|
| 11 | +Running of a test case set for the compiled code (i.e. the executable file). |
| 12 | + |
| 13 | +- running of a test case set for the compiled code (i.e. the executable file): |
| 14 | + - representation of a test case: |
| 15 | + - input; |
| 16 | + - expected output; |
| 17 | + - checking of an actual output in each test case: |
| 18 | + - returning of the [sentinel errors](https://dave.cheney.net/2016/04/27/dont-just-check-errors-handle-them-gracefully#sentinel%20errors): |
| 19 | + - failed running — it returns on a running error; |
| 20 | + - unexpected output — it returns when the expected and actual outputs do not match. |
| 21 | + |
| 22 | +### Features |
| 23 | + |
| 24 | +- saving of a code to a temporary file: |
| 25 | + - storing of the temporary file with the code to an individual temporary directory; |
| 26 | +- compiling of a code written in the Go programming language: |
| 27 | + - automatic importing of the packages used in the code; |
| 28 | + - enriching of an error of the external command running by an output from the stderr stream; |
| 29 | +- running of the compiled code (i.e. the executable file): |
| 30 | + - passing of a custom input as the stdin stream; |
| 31 | + - returning of an output from the stdout stream; |
| 32 | + - enriching of an error of the external command running by an output from the stderr stream; |
| 33 | +- running of a test case set for the compiled code (i.e. the executable file): |
| 34 | + - representation of a test case: |
| 35 | + - input; |
| 36 | + - expected output; |
| 37 | + - checking of an actual output in each test case: |
| 38 | + - returning of the [sentinel errors](https://dave.cheney.net/2016/04/27/dont-just-check-errors-handle-them-gracefully#sentinel%20errors): |
| 39 | + - failed running — it returns on a running error; |
| 40 | + - unexpected output — it returns when the expected and actual outputs do not match. |
| 41 | + |
11 | 42 | ## [v1.0](https://github.com/thewizardplusplus/go-code-runner/tree/v1.0) (2021-03-22) |
12 | 43 |
|
13 | 44 | Major version. Implementing of the compiling and running of a code written in the Go programming language. |
|
0 commit comments