Testing and Debugging

Uniface includes a pre-configured test environment that you can use for unit testing, and a Debugger to analyze problems.

The test environment includes the executables and servers required to run an application. It is configured to automatically access the runtime components generated during compilation. You can configure the test environment for web and other types of applications and components using assignment settings.

You can test individual components in the test environment starting from the Component Editor in the Uniface IDE, or using the /tst command line switch.

Tools and functionality such as the Uniface Debugger and various ProcScript instructions can help you investigate application behavior, optimize components, locate programming bugs, and influence application execution. Uniface profiling functionality enables you to further analyze performance problems.

Default Test Environment
Item Description
Uniface Router Server that handles all communication between Uniface client applications and the Uniface Servers that execute the client requests.
Uniface Server Server that enables Uniface clients to access remote resources or to execute remote components. The Uniface Router is responsible for all communication between the client and server. For more information, see .
Apache Tomcat Web server including a servlet engine.
Web Request Dispatcher (WRD) WRD is a servlet that runs in Apache Tomcat.
web.xml Configuration file for a web application. It contains the configuration settings for the Uniface servlets (WRD and SRD).
urouter.asn Uniface Router assignment file. Among other things, it defines the path to the Uniface Server.
wasv.asn Assignment file for the Uniface Server. References in the urouter.asn file.

Related Topics