Work before progress. Feel free to touch but handle with care.
Code dependencies are managed via Composer. So you need to clone the repository and then fetch the dependencies via Composer.
git clone --recursive git@github.com:<your-name-here>/podlove-publisher.git
cd podlove-publisher
curl -sS https://getcomposer.org/installer | php
php composer.phar --dev install
There is a test suite validating some Publisher functionality. It is based on PHPUnit and Selenium. You can get most dependencies via Composer.
You need a Selenium Server. If you are on a Mac, get it via Homebrew (brew install selenium-server-standalone
). Otherwise, go there: http://docs.seleniumhq.org/download/
You need a local WordPress instance for tests. The tests will override the database! DO NOT use the same database as for development or production!.
Open phpunit.xml
and configure the php constants.
Run the suite: ./vendor/bin/phpunit
.