NAME

Prima::Stress - stress test module

DESCRIPTION

The module is intended for use in test purposes, to check the functionality of a program or a module under particular conditions that might be overlooked during the design. Currently, the stress factors implemented are the default font size, default scrollbar sizes, and the UI-scaling factor, which are set to different random values every time the module is invoked.

To use the module it is enough to include a typical

use Prima::Stress;

code, or, if the program is invoked by calling perl, by using the

perl -MPrima::Stress program

syntax. The module does not provide any methods, however, one may address individual aspects of the UI defaults.

API

Font size

use Prima::Stress q(fs=18);
perl -MPrima::Stress=fs=18 program

This syntax changes the default font size to 18 points.

Display resolution

use Prima::Stress q(dpi=192);
perl -MPrima::Stress=dpi=192 program

This syntax changes the display resolution to 192 pixels per inch.

Scrollbar sizes

use Prima::Stress q(src=40);
perl -MPrima::Stress=src=40 program

This syntax changes the default width of vertical scrollbars, and the default height of horizontal scrollbars to 40 pixels

AUTHOR

Dmitry Karasik <[email protected]>,