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