git-directory-deploy
git-directory-deploy copied to clipboard
add tests
write (unit) tests using something like roundup, Bats, assert.sh, or shelltestrunner.
write tests for
- [ ] attempting to deploy without setting up first
- [ ] non-existent deploy_directory (#5)
- [ ] empty deploy_directory (#5)
- [x] non-existent remote deploy_branch (#5)
- [x] non-existent local deploy_branch
- [ ] non-writable remote repo
- [x] setup should not delete existing files in deploy_directory (i think it does currently if a file also exists in the repo's root)
- [ ] don't expose repo URL
- [ ] even when an operation fails (#7)
You just added some right?
Yeah, but so far, I've only written a basic happy-case integration test and some unit tests for the code I'm working on for issue #7, so I can't check anything off of this list yet.
No problem. That's awesome. Thanks for you work.