You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add magic and an awesome feature where you can test whether a test case compiles or not if it does not output the error message. The compiled source can be any language,
This can be achieved by setting the compilation executable, options for that test case then cester try to execute that with exec or similar function, then capture the output. This should be optional and can be disabled with #define CESTER_IGNORE_COMPILATION_TEST
The first argument is the test case, the second is the test instance, the third is the compiler executable, the fourth is the code to compile (this is converted to string so there should be a way to remove the enclosing { and };
Test execution
cester should be able to test whether a program runs and validates the output is what is expected similar to CESTER_COMPILE_TEST
the first argument is the test case name, the second is the test instance, the third is the program or full path to the program o execute, the fourth is the argument to send to the program, the last is the test case body
The text was updated successfully, but these errors were encountered:
Test compilation
Add magic and an awesome feature where you can test whether a test case compiles or not if it does not output the error message. The compiled source can be any language,
This can be achieved by setting the compilation executable, options for that test case then cester try to execute that with exec or similar function, then capture the output. This should be optional and can be disabled with
#define CESTER_IGNORE_COMPILATION_TEST
Sample format
The first argument is the test case, the second is the test instance, the third is the compiler executable, the fourth is the code to compile (this is converted to string so there should be a way to remove the enclosing { and };
Test execution
cester should be able to test whether a program runs and validates the output is what is expected similar to CESTER_COMPILE_TEST
the first argument is the test case name, the second is the test instance, the third is the program or full path to the program o execute, the fourth is the argument to send to the program, the last is the test case body
The text was updated successfully, but these errors were encountered: