Caldera WordPress Plugin
Drag and drop blockchain
by Caldera Labs · github.com/calderawp/calderawp-wordpress-plugin · website
★ 0stars
0forks
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/calderawp/calderawp-wordpress-plugin/archive/refs/heads/master.zipDeclares an update source (https://github.com/CalderaWP/caldera-wordpress-plugin), so updates arrive through the plugin's own updater.
From the readme
Caldera WordPress Plugin
Requirements
PHP 7.1 +
1. WordPress "Unit" Tests in CF with phpunit Runs in CI/CD
2. JavaScript unit tests in CF
4. Cypress e2e tests
5. Isolated unit testing
3. Ghost Inspector Testing
Merge
Install
Requires git and Composer and npm and Yarn
Clone From Github:
- git clone git@github.com:CalderaWP/caldera-wordpress-plugin
Build for development:
- yarn && composer install
Setup test and local development environment:
- composer wp:install && composer wp:activate && composer cf:form-import
end to end (e2e) Tests
e2e tests are written using cypress.io in the directory cypress.
See: cypress/README.md
Launch the test runner for cypress:
yarn test:e2e
JavaScript Development
Start everything
- yarn start
Start dev server for React app
- yarn start:app
Start dev server for blocks
- yarn start:blocks
JavaScript Tests
Unit tests
- yarn test
Launch the test runner for cypress:
- yarn test:e2e
Do a Cypress.io Test Run
- yarn test:e2e:run
Generate coverage report locally
- yarn test:coverage-report
PHP
All PHP is developed in /php
Testing PHP
Run PHP Tests, Lints And Sniffs
- composer t