PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
  • Overview
  • Which elements can be automatically checked?
  • Notes
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
Overview
Several test tools are available to guarantee the quality of your applications:
  • The test mode (Go on a project or Go on a window) is used to immediately check a modification in your application.
  • WINDEVWindows Mobile WDTest that allows you to create validation tests and regression tests in WINDEV and WINDEV Mobile.
  • WEBDEV - Server code WDTestSite that allows you to run different tests on a WEBDEV site.
To automate these tests and to increase the quality of your applications, you have the ability to run automatic unit tests. These tests are used to easily check all the features proposed by your applications.
Each test contains a scenario that can be directly edited in the product interface. This scenario is written in WLanguage and it can be modified at any time.
These tests can be run before creating the executable in order to check the operating mode of an application.
Note: Use in Windows Vista (and later): To record and replay the automatic unit tests, the UAC mechanism must be disabled.
Versions 22 and later
Note: The automatic tests are taken into account by "Code coverage".
New in version 22
Note: The automatic tests are taken into account by "Code coverage".
Note: The automatic tests are taken into account by "Code coverage".
Which elements can be automatically checked?
WINDEVAndroidiPhone/iPadWindows Mobile WINDEV and WINDEV Mobile allow you to run automatic tests on:
You have the ability to create a test:
  • for a specific window,
  • for the entire application,
  • Versions 22 and later
    not linked to a window, procedure or class.
    New in version 22
    not linked to a window, procedure or class.
    not linked to a window, procedure or class.
WINDEV You also have the ability to import test scenarios created by the users. See Automatic tests created by the user for more details.
WEBDEV - Server code WEBDEV allows you to run automatic tests on:
Versions 22 and later
You also have the ability to create a test not linked to a procedure or class.
New in version 22
You also have the ability to create a test not linked to a procedure or class.
You also have the ability to create a test not linked to a procedure or class.
Notes
  • Each test is associated with a WLanguage code: the test scenario. This scenario can be viewed in the code editor. The code of the tests can be modified.
  • The tests (and the associated code) are not included in the executable and they are not given to the users. The number of tests for an application has no incidence on the size of the application supplied to the users.
  • The automatic tests do not operate on a non-interactive TSE session.
  • Versions 19 and later
    The "Automatic tests" Widget found in the Project dashboard allows you to quickly find out the percentage of tests passed, not passed, ... It can also be used to run the different tests.
    New in version 19
    The "Automatic tests" Widget found in the Project dashboard allows you to quickly find out the percentage of tests passed, not passed, ... It can also be used to run the different tests.
    The "Automatic tests" Widget found in the Project dashboard allows you to quickly find out the percentage of tests passed, not passed, ... It can also be used to run the different tests.
    The "Tests" Widget found in the Project dashboard allows you to quickly find out the percentage of tests passed, not passed, ... It can also be used to run the different tests.
Related Examples:
WD Example of unit test Training (WINDEV): WD Example of unit test
[ + ] This example presents the use of the test editor included in WINDEV:
- test of a window
- test of a global procedure
- test of a global procedure from a set of test data (available from the versions 12)
Minimum required version
  • Version 11
This page is also available for…
Comments
Click [Add] to post a comment