reg-keygen-git-hash-plugin

Detect the snapshot key to be compare with using Git hash.

Usage no npm install needed!

<script type="module">
  import regKeygenGitHashPlugin from 'https://cdn.skypack.dev/reg-keygen-git-hash-plugin';
</script>

README

reg-keygen-git-hash-plugin

A reg-suit plugin to detect the snapshot key to be compare with using Git commit hash.

Install

npm i reg-keygen-git-hash-plugin -D

Detection expected commit

This plugin detects automatically the parent's commit which is the source of the topic branch. And use the snapshot result of the detected commit as the expected result of regression testing.

And if your topic branch has the merge commit from the parent(i.e. master) branch, this plugin uses this merge commit hash as the expected snapshot key.