joshmedeski / sesh

Smart session manager for the terminal
MIT License
417 stars 17 forks source link

Integration Testing #36

Closed joshmedeski closed 1 month ago

joshmedeski commented 5 months ago

As a developer, I want integration tests to test the final results of the CLI and prevent regressions on future development.

Happy Path Testing

joshmedeski commented 5 months ago

VHS requires a particular environment with all the dependencies that sesh needs (i.e. tmux, zoxide, fzf, etc...). This has proven to be a bit more work than I expected.

We may want to use Nix (thanks to Shyam on stream) or Dockerize it. But VHS's ascii output could prove useful if someone wants to spend more time on this.

For now, I think unit testing needs to be prioritized and we can find ways to mock some of the integrations.