1.0.1 โ€ข Published 2 years ago

@jagoncalves14/pixelmatters-zsh-unit-testing v1.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

๐Ÿš€ Get Up and Running

You can install this package using either npm or yarn.

Yarn

If using Yarn:

  1. Install the package globally
yarn global add @jagoncalves14/pixelmatters-zsh-unit-testing

NPM

If using NPM:

  1. Install the package as a development dependency::
npm install -g @jagoncalves14/pixelmatters-zsh-unit-testing

At this point you should be good to go ๐Ÿ‘

๐Ÿค Usage

  1. After installing, run the package's CLI command and answer to the questions in the prompt:
pixelmatters-zsh-unit-testing
  1. Now you're all set and done!

After the CLI command is complete, the following functions are added to you .zshrc config:

  • testchanges
  • testbranch

Examples

testchanges

  • Run unit tests on changed files:
testchanges
  • Run unit tests on changed files and update its snapshots:
testchanges -u

testbranch

  • Run unit tests on different files between current and target branch:
testbranch
  • Run unit tests on different files between current and target branch and update its snapshots:
testbranch -u
  • Run unit tests on different files between current and custom target branch:
testbranch fix/some-branch-name
  • Run unit tests on different files between current and custom target branch:
testbranch -u fix/some-branch-name

๐Ÿค How to Contribute

Whether you're helping us fix bugs, improve the docs, or spread the word, thank you! ๐Ÿ’ช ๐Ÿงก

Check out our Contributing Guide for ideas on contributing and setup steps.

:memo: License

Licensed under the MIT License.