edgji / sd-php-tdd-starter-kit

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SDPHP Meetup TDD Starter Kit

Introduction

Starter kit to practice TDD with phpspec & gulp.

Thanks to the Laracasts katas series for inspiration.

Prerequisites

The last two are needed only if you want to use the gulp task runner to automatically run unit tests.

Setup

  • Run $ composer install to install PHP dependencies.
  • Run $ npm install to install node dependencies if you want to use the gulp task runner.

Usage

  • Create new spec with $ bin/phpspec describe FizzBuzz.
  • Run the tests with $ bin/phpspec run.
  • Run the gulp task runner with $ gulp.

About


Languages

Language:JavaScript 100.0%