跳到主要内容

🌀 Test

z-shell/z-a-test

An annex runs tests (for example `make test``) – if found will autorun it after installing and updating a plugin or snippet.

Simply load it like any other plugin to make it active:

zi light z-shell/z-a-test

Configuration

To run the tests in a verbose mode, issue:

zstyle :zi:annex:test quiet 0

before installing or updating the plugin. To skip tests for a single plugin, add notest ice:

zi ice notestzi load …

Annex showcase

Example activation in the default quiet mode:

z-p-test-1

Example activation in non-quiet mode:

z-p-test-2

z-a-test