@webgriffe/ghost-inspector-anywhere

0.4.0 • Public • Published

Ghost Inspector anywhere

Allows to run Ghost Inspector tests anywhere through an ngrok tunnel.

Install

yarn install @webgriffe/ghost-inspector-anywhere

Usage

yarn run ghost-inspector-anywhere \
	<tests> \
	<outputDir> \
	[--setup-script=<setupScript>] \
	[--teardown-script=<teardownScript>]

Where <tests> could be either a directory containing Ghost Inspector JSON tests files or a single Ghost Inspector JSON test file; and outputDir must be a directory where to store tests results JSON files.

<setupScript> and <teardownScript> could be scripts to execute before and after running tests. The ngrok tunnel URL is passed to both scripts as first argument.

License

This library is under the MIT license. See the complete license in the LICENSE file.

Credits

Developed by Webgriffe®.

Package Sidebar

Install

npm i @webgriffe/ghost-inspector-anywhere

Weekly Downloads

7

Version

0.4.0

License

MIT

Unpacked Size

6.76 kB

Total Files

3

Last publish

Collaborators

  • minimit
  • mmenozzi