Skip to content

insideout10/helixware-plugin

Repository files navigation

Build Status Code Rewview

HelixWare plugin

A plugin to turn WordPress into a video site.

Unit Tests

Requirements:

  • To run SauceLabs tests you'll need a SauceLabs account with an API key

Install required libraries:

composer install

If you encounter issues installing phpunit/selenium try running this command:

composer update --prefer-source phpunit/phpunit-selenium

(for more information see giorgiosironi/phpunit-selenium#321 (comment))

Configure the SauceLabs account:

vendor/bin/sauce_config <username> <api-key>

Drop any existing test database:

mysqladmin -u root drop wordpress_test

Install the WordPress test suite running the following command.

./bin/install-wp-tests.sh wordpress_test root '' localhost latest