Skip to content

chigraph/chigraph-tests

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

chigraph-tests

Chigraph test workspace

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

{
	"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

Releases

No releases published

Packages

No packages published