Prima::Stress - stress test module


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 only stress factor implemented is change of the default font size, which is set to different value every time the module is invoked.

To use the module functionality it is enough to include a typical

        use Prima::Stress;

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

        perl -MPrima::Stress program

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


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.


Dmitry Karasik <>,