Skip to content

Latest commit

 

History

History
33 lines (23 loc) · 1.34 KB

README.md

File metadata and controls

33 lines (23 loc) · 1.34 KB

Version-controlled test example

Test status

This project demonstrates a simple website app and executing an on-demand test from a branch. The code changes are visible in pull request #1. The Github Actions configuration to execute the on-demand test is in the workflow.

Run the site locally:

You can start up the example site locally with the following:

git clone https://github.com/ghost-inspector/version-controlled-test-example.git
cd version-controlled-test-example
npm install .
npm run start

Execute on-demand test

Install the Ghost Inspector CLI and execute an on-demand test against the local app:

npm install -g ghost-inspector
ghost-inspector test execute-on-demand $myOrganizationId ./tests/test-contact-form.json \
  --ngrokTunnel localhost:3000 \
  --ngrokUrlVariable startUrl \
  --ngrokToken $myNgrokToken \
  --apiKey $myApiKey

Start Bootstrap theme copyright notice

Freelancer Bootstrap theme copyright 2013-2021 Start Bootstrap LLC. Code released under the MIT license.