PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK
  • Overview
  • Which elements can be automatically checked?
  • Remarks
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.
  • 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.
Versions 22 and later
Remark: The automatic tests are taken into account by "Code coverage".
New in version 22
Remark: The automatic tests are taken into account by "Code coverage".
Remark: The automatic tests are taken into account by "Code coverage".
Which elements can be automatically checked?
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.
Remarks
  • 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.
  • 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 version required
  • Version 11
This page is also available for…
Comments
Click [Add] to post a comment