swellaby / rusty-hook

git hook manager, geared toward Rust projects
MIT License
207 stars 11 forks source link

Create the tests for the hook script files #56

Closed calebcartwright closed 5 years ago

calebcartwright commented 5 years ago

Given the crucial role these shell scripts play in the overall functionality, it would be great to include some automated tests that can be used to verify their behavior in our build and release pipelines.

calebcartwright commented 5 years ago

Have setup the scaffolding for this leveraging shUnit2 with a couple initial tests for the semver check function as part of #55.

There are a few other test frameworks out there, but this seems like a reasonable option when considering features/capabilities, licensing (shUnit2 is Apache 2.0 license), etc.