Lhogho  0.0.027
TestMaker

Introduction

The testmaker is main entry point to the lTester application

How it works?

The application is very simple. The first step is to parse command line args. Code for it is placed in - TestMaker implementation file . After that each file in the input dir is examined and if it's name matches the name filter (*.lgo) the file is passed to process_one_file function. A dispatching is made to find appropriate process function to handle the case, depending to testing mode.

Testing modes

At this moment there ara three modes:

Processing a file

For each mode is a function which process test case. First all options are extracted. If not in build mode expected results are extracted too. Then the code is executed (depending on mode may be compiled first). Produced output is compared to the expected and if all steps are successfull the test is passed.


[ HOME | INDEX | ATOMS | VARS | REFERENCE ]
Lhogho Developer's Documentation
Tue Feb 7 2012