CalderaWP/caldera-ghost-runner

Name: caldera-ghost-runner

Owner: Caldera Labs

Description: Utility plugin for Caldera Forms development.

Created: 2017-10-10 02:12:34.0

Updated: 2018-03-26 22:13:53.0

Pushed: 2018-03-26 22:13:51.0

Homepage: null

Size: 209

Language: PHP

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

caldera-ghost-runner

Utility plugin for Caldera Forms development.

This plugin pulls in all of the tests forms for Caldera Forms and also runs the tests and manages keeping the right version of Caldera Forms is installed.

It is designed for two types of sites:

  1. A site being used for Caldera Forms QA/CI.
  2. A local development site used to develop Caldera Forms.

This is mainly desgined for internal use, but if you wish to learn or borrow from this – go ahead, GPL.

Full Documentation

You Must Be Space Astronaut Grade 1 (SA1) Or Higher

TL;DR
Set Some Constants Or Env Variables in wp-config

Sample SA1

fine( 'CGRKEY', 'Your Ghost Inspector API key' );
fine( 'CGRGDID', 'The address of the Google Sheet With Your Tests' );
fine( 'CGRLOCALAPIKEY', 'LongAlphanumericString' );
Setup wp-admin
Use Plugin
WP CLI Commands Import forms and put on pages (deletes all pages and forms first)

wp cgr import

Run all tests against this site

wp cgr run

REST API

This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.