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
- Host: GitHub
- URL: https://github.com/chigraph/chigraph-tests
- Owner: chigraph
- License: apache-2.0
- Created: 2018-02-18T23:43:49.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2019-07-14T19:18:28.000Z (almost 7 years ago)
- Last Synced: 2025-01-12T16:33:45.138Z (over 1 year ago)
- Language: C
- Size: 34.2 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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