MENU

Fun & Interesting

Learning Bash Best Practices - 04 // Unit Tests for Bash Scripts with shunit2

The Mouseless Dev 1,918 3 years ago
Video Not Working? Fix It Now

Bash is not exactly a language without traps; preventing weird behaviors as much as possible should be one of our priority. Unit tests can help us in that regard. Files: https://github.com/Phantas0s/mouseless-dev-youtube/blob/master/bash_best_practice/backup_04 shunit2: https://github.com/kward/shunit2 I'm using Neovim with shellcheck for static analysis. For snippets, ultisnips is my friend. 📙 Building Your Mouseless Development Environment: https://themouseless.dev 📑 Learning to Play Vim: https://themouseless.dev/vim 💎 Increase your value as a developer: https://thevaluable.dev 🐙 Github: https://github.com/Phantas0s 🍒 Support the channel: https://github.com/sponsors/Phantas0s

Comment