Script coverage by autotests

Info about design forms features
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1107: count(): Parameter must be an array or an object that implements Countable
jkrsik
Posts: 30
Joined: 06 Oct 2014, 13:10
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1107: count(): Parameter must be an array or an object that implements Countable

Script coverage by autotests

Postby jkrsik » 02 Feb 2016, 13:10

size=150Script coverage by autotests/size
Version P 16.098.37+

From this version is possible to visually check, which part of script are covered by autotests.

in Auto test manager is new button - "Watch tested lines". It is checked by default.
When tests are run, the script which is executed is highlighed by green color on background.
The highlight automatically disappear after refresh the calculation.

attachment=0
Script coverage by autotests.PNG
Script coverage by autotests
Script coverage by autotests.PNG (103.39 KiB) Viewed 1832 times
/attachment
With this function is possible to define sets for all branches of script easily.

Note: Parts which are not executed during Calculate are not highlighted - IO.IsDrawing = False, even if they are visible in Layout after closing the Auto test manager.

[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1107: count(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1107: count(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1107: count(): Parameter must be an array or an object that implements Countable

Return to “Design forms features”

Who is online

Users browsing this forum: No registered users and 1 guest