An open API service indexing awesome lists of open source software.

https://github.com/chigraph/chigraph-tests

Chigraph test files
https://github.com/chigraph/chigraph-tests

Last synced: 2 months ago
JSON representation

Chigraph test files

Awesome Lists containing this project

README

          

# chigraph-tests
Chigraph test workspace

Code generation needs testing obviously. These tests have their own JSON format, and goes like so:

```json
{
"testname": "A brief description of the test",
"expectedret": "Expected success of the compiled program. 0 is usually for success, other error codes otherwise",
"expectedstdout": "Expected stdout of the program",
"expectedstderr": "Expected stderr of the program"
}
```

This file is to be placed right next to the `main.chimod` for the test