zunit-zsh / zunit

A powerful testing framework for ZSH projects
https://zunit.xyz
MIT License
208 stars 23 forks source link

Adding install instructions for zinit to the readme #122

Closed ryaminal closed 1 year ago

ryaminal commented 3 years ago

Simple PR with zinit instructions.

I attempted to get the autocomplete working with zinit but failed... Thought this was still valuable, though.

vladdoster commented 1 year ago

@ryaminal

Zinit has an actively maintained fork. I renamed the completion file so zinit will automatically install it. Additionally, it has a few other QoL improvements.

Screenshot 2022-12-31 at 14 40 00

See the README installation instructions

zdharma-continuum/zunit

ryaminal commented 1 year ago

Huh, they do have a fork there. fascinating. Wonder why. Guess it's time to close this PR. It's been hanging out here for a few years, long before the great upheaval in the zdharma/zinit ecosystem.

vladdoster commented 1 year ago

@ryaminal,

I created the fork and made all the changes, so here is some context.

  1. Rename the completion file to _zunit to automatically get picked up by Zinit. See commit.

  2. Change the log messages to make grokking test results easier.

Screenshot 2023-03-18 at 12 42 31
  1. Add new assertions specific to Zinit.

  2. Make molovo/revolver an optional dependency because it added a ton of noise (thousands of lines) to the Github Action log output.

There are a few more things, but those are the four main reasons.