perlancar / perl-Getopt-Long-More

1 stars 1 forks source link

Reorganize test suite as described in gh [#08] #32

Open tabulon opened 4 years ago

tabulon commented 4 years ago

SYNOPSIS:

Reorganize test suite as described in gh [#08]

The WHY:

Before and during the refactoring (#11) and the development of more features, it is useful to beef up the testing, which was also part of the motivation for (#26).

Since we have recently visited the "test-suite", I just took the opportunity to go ahead and impement #8, which will ease adding more tests, both technically and also by reducing our own mental barriers... :-)

The WHAT:

Implement #8, resulting in a split of tests between:

This exercise also gave birth to a little test helper module t/lib/TestHelperGLM.pm which will be providing the common stuff needed by the test suite (which currently includes the test_getoptions() routine).

The FUTURE:

Later on, we can add some other tests for ensuring that GLM is functioning correctly with regard to its own advertised features, such as: