Following gives short introduction to main modules of testrunner-lite. To give better understanding of the program flow.
File
main.c contains basic commandline parsing and the high level logic of execution.
The test definition parsing is done in
testdefinitionparser.c. The data is saved to data structures defined in
testdefinitiondatatypes.h as the parsing progresses. File
testdefinitiondatatypes.c contains routines for intialization and cleanup of the test definition data types.
The executor module (
executor.c) takes care of test step execution. File
remote_executor.c provides support for host based testing, where the test steps are executed in a remote host over ssh. Manual test steps are handled in
manual_executor.c.
The logger module
log.c provides routines for logging to stdout or to remote location with http POST method.
Test results are written to text or xml writer in
testresultlogger.c.