With these 3 commands, you have a fully operational environment ready for development of LedgerSMB on your local machine with all the dependencies (inside the docker containers) required to run the test suite. The Docker Compose file starts 3 containers wrapping the current directory (ledgersmb) and starting all the required processes for testing.
Running the test-suite (basic part) is as easy as:
$ docker exec -ti lsmb-master-devel prove
and running the full test suite is as easy as invoking:
$ docker exec -ti lsmb-master-devel \
prove --pgtap-option dbname=lsmbtestdb -r t/ xt/
If you changed the Perl sources, please run
$ docker restart lsmb-master-devel
before continuing your tests (Starman needs to be reloaded to serve the new logic).
If you wanted to contribute, but preparing a development environment looked daunting, this may be the right time to dip your toe and try the waters!
--
Bye,
Erik.
Robust and Flexible. No vendor lock-in.