albfan / bash-ini-parser

GNU General Public License v3.0
141 stars 46 forks source link

add test suite #4

Closed albfan closed 9 years ago

albfan commented 9 years ago

To avoid break anything, add a test suite to check functionality

albfan commented 9 years ago

A good start point is to replicate test suite from bash_ini_parser. It is plain and easy to follow. But this must be converted in a TAP producer. For sh, TAP website mentioned Sharness which follows the TAP-like test suite from git (it is inside t directory, see test-lib.sh and README) which I do rely and want to follow.

albfan commented 9 years ago

Now test suite is created and working, add use cases