This adds bats functional tests to this project. While writing go unit tests might be cleaner/more correct, because we are trying to maintain both godap and dap, this mechanism should allow us to share tests between the two and thereby reduce work.
To enable this for the main repo, someone who is an admin needs to login to travis-ci.com and enable it for this repo. I did this for my own fork and it successfully built the Docker container and ran the few simple tests within (https://github.com/jhart-r7/godap/pull/1)
This adds
bats
functional tests to this project. While writing go unit tests might be cleaner/more correct, because we are trying to maintain bothgodap
anddap
, this mechanism should allow us to share tests between the two and thereby reduce work.To enable this for the main repo, someone who is an admin needs to login to travis-ci.com and enable it for this repo. I did this for my own fork and it successfully built the Docker container and ran the few simple tests within (https://github.com/jhart-r7/godap/pull/1)