mirror of
https://github.com/albfan/bash-ini-parser.git
synced 2025-04-19 13:22:14 +03:00
1.2 KiB
1.2 KiB
test suite
This test suite is based on sharness
install
It is installed (from toplevel dir) with:
git subtree add --squash --prefix t/sharness https://github.com/mlafeldt/sharness master
and update from time to time with:
git subtree pull --squah --prefix t/sharness master
Read http://blogs.atlassian.com/2013/05/alternatives-to-git-submodule-git-subtree/ for more info on git subtree, you can define a remote to simplify commands or contribute sharness from your fork
automation
Although every test is executable by itself an only depends on sharness, that's not operative. this test suite relays on prove and ancient and good-know make to complete the test suite. Launch it with
make
or
make DEFAULT_TEST_TARGET=prove
for tap output
make DEFAULT_TEST_TARGET=tap SHELL=/bin/bash
Credits
Makefile was shamelessly stolen from git-integration
Test cases are strongly based on bash_ini_parser test suite