rapid7 / godap

The Data Analysis Pipeline
MIT License
17 stars 10 forks source link

Attempt bats functional tests #4

Closed jhart-r7 closed 5 years ago

jhart-r7 commented 5 years ago

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)