Skip to content

Latest commit

 

History

History
25 lines (17 loc) · 780 Bytes

CONTRIBUTING.md

File metadata and controls

25 lines (17 loc) · 780 Bytes

Building

All Javascript is compiled using Grunt. Assuming that both Node & Node Package Manager are installed, run the following commands using Terminal in this directory:

# Install Grunt CLI globally
$ npm install -g grunt-cli

# Install this project's dependencies
$ npm install

# Run Grunt
$ grunt
$ grunt watch

Testing

Unit tests for this plugin live in the tests/phpunit directory. To run:

  1. Install Composer
  2. Install PHPUnit (composer install)
  3. Install the core WP Unit Test library and configure a test install (bin/install-wp-tests)
  4. Run the tests (./vendor/bin/phpunit)