Add unit tests
joshmedeski opened this issue · comments
As a developer, I want to add unit tests to the project, so I can prevent regressions in future development and make sure edge cases are covered as intented.
Potential Unit Testing Solutions
- https://github.com/kward/shunit2
- https://github.com/bats-core/bats-core
- https://github.com/shellspec/shellspec
Ideas
- Use nix to build dependencies?
- Create GitHub action(s)
- Make sure to include different operating systems and versions of dependencies (tmux, fzf, etc...)
- Make sure to assert each shell configuration (bash, zsh, fish)
- Make sure to assert all features in each tmux state (serverless, detached, attached)
- Maybe get started with a simple hello world test and action