The test scripts are created to run in a UNIX shell; therefore, you must install a UNIX-compatible toolkit on your Windows computer: for example, MKS Toolkit. For information about functional tests, see "Functional Test Overview".
Testing a DataBlade module is usually an iterative process, repeated several times until the code passes all the tests. The testing process has the following general steps:
1. Build the project.bld file (if necessary).
2. Install the project.bld file and the contents of the scripts directory into the %INFORMIXDIR%\extend\project directory.
3. Set the attributes of the project.bld file as read-only so that it can be loaded by the Informix database server. If the project.bld file is not read-only, the database server issues an "unable to load function" message in the online.log file.
unable to load function
4. Start your Informix database server from the Services application in the Control Panel. Do not start the Informix messaging service; it is started automatically by the database server.
5. Create a test database.
6. If you are replacing an existing project.bld file, shut down and restart the database server from the Services application in the Control Panel.
7. Register the DataBlade module, using BladeManager (if necessary).
8. Execute the functional tests from a UNIX shell using MKS Toolkit.
9. Edit the source code (if necessary).
10. Regenerate tests in BladeSmith if you change any of your test data. If you change the definition of any of your DataBlade module objects, regenerate source code and tests in BladeSmith.
11. Repeat the procedure, as necessary.