- Overview
- Configuring the test mode
- Command line
- Directory of files used for test
- Runtime directory
- Vista manifest
- Other user account
- Debug options
Testing a project: setting
The test of the entire project simulates how the site or the application is started (e.g. via the executable for a WINDEV application). This makes it possible to test the entire site or application, even if its development is not complete yet. When a problem occurs during the execution of the project, you can start the debugger to identify and fix the problem. Different parameters are used to: - Test a project by specifying a command line.
- Test a project by specifying a specific runtime directory.
- Test a project with a manifest (Windows Vista only).
- Test a project using the rights granted to another user. This setting is used to check the operating mode of the application by simulating the UAC mechanism in Windows Vista.
Remark: The test of a project can be run regardless of the current element in the editor. Configuring the test mode Command line To test a project using a command line, simply specify this command line: - On the "Project" tab, in the "Test mode" group, expand "Test mode" and select "Configure test mode" (Ctrl + Shift + F9).
- Type the command line.
- The custom command line corresponds to custom parameters used to run the project test.
- The common command line corresponds to common parameters used to run the project test. These parameters are saved in the project and they are taken into account when the project is shared via the SCM.
The command line used during the test is displayed (concatenation of common and custom command lines).
The different elements of the command line will be passed as parameters to the current program. Reminder: these parameters can be retrieved through programming with CommandLine. Directory of files used for test To configure the data files used when running the application test in the editor: - Open the project description: on the "Project" tab, in the "Project" group, click "Description".
- In the "Files" tab, select the location of test files:
- Directory of the current configuration or current directory: The data files used will be in the subdirectory corresponding to the project configuration (subdirectory of the project EXE directory).
- Specific directory: The data files will be found in the specified directory.
Directory of the application data (recommended when using the application in Windows XP, Windows Vista and later). This directory is different if the data is common to all the application users or if the data is specific to each user.
This page is also available for…
|
|
|
|