lostkobrakai/conveyor

There is no license information available for the latest version (0.1.3) of this package.

Convey tests through various ProcessWire environments

0.1.3 2016-12-11 00:46 UTC

This package is not auto-updated.

Last update: 2022-08-06 07:45:55 UTC


README

📦 -> 🎰 🎰 🎰 🎰 🎰 🎰 -> ⭐️

Command-line tool to easily run tests agains multiple versions of ProcessWire CMF.

Are you building a module, or a template and you need to make sure it works in all supported ProcessWire versions? Then conveyor is exactly what you need. Write the tests in any fashion you like (PHPUnit, CodeCeption, Kahlan, ...). Then tell conveyor which ProcessWire versions you are interested in and it will do the rest for you.

Tested on Mac OS X

video

Table of Contents

  1. Requirements
  2. Installation
  3. Usage
  4. Configuration
  5. Attribution

Requirements

php.ini

php.ini used by php cli command must have enabled these extensions:

  • curl
  • gd2
  • mbstring
  • mysqli
  • openssl
  • pdo_mysql

Installation

Don't forget to setup all requirements first.

Install globally:

composer global require lostkobrakai/conveyor

or install as a project dependency:

cd <your-project>
composer require --dev lostkobrakai/conveyor

Usage

Go to your project's root directory.

Create config file conveyor.yml,

then if you installed conveyor globally:

conveyor

or if you've installed conveyor as projects dependecy:

vendor/bin/conveyor

Configuration

Copy example configuration conveyor.yml to your project's root directory and set options according to your needs.

If you like you can also use a json config.

Attribution

Based on uiii/pw-test.