Skip to content

Provide configuration for manual launching of unit tests

Maxime Besson requested to merge maxbes/lemonldap-ng:proverc into v2.0

This commit adds a .proverc configuration in lemonldap-* subdirectories

It allows you to run unit tests easily during development

make clean && make
cd lemonldap-ng-portal
prove t/my-unit-test.t
prove -v t/my-unit-test.t
prove t/*.t

You'll get a nice colored output, plenty of details with '-v' (great is you set logLevel to "debug" in the test), etc.

I'm not sure whether blib/lib or lib/ should be used however? Having to run make clean at each iteration when modifying lib/ code seems a little bothersome.

Merge request reports