testyii Lightweight auto testing script for YiiFramework

  1. UPDATE
  2. Requirements
  3. Usage
  4. Update
  5. Resources

UPDATE

The correct updated file has now been uploaded. Sorry about the mixup.

Requirements

Yii 1.4 or above

Mac OSX 10.5+ or Linux

phpunit

Growl 1.2.x (http://growl.info/)

Usage

TestYii by Evan Frohlich, Matteo Rinaudo and Eric McGill is a light version of the ror original.

Just follow the directions and when you make changes to your project your tests will run auto-magically.

You will receive Pass/Fail style Growl notifications.

Place TestYii in your project direcotry one level above 'webapp/'

1) CD into the {YourProjectDir}/TestYii

2) ./testyii.sh {optional args}

Optional Args

a) unit

  "./testyii.sh unit"

b) functional

   "./testyii.sh functional"

c) both

   "./testyii.sh both"

d) null {the default is unit}

  "./testyii.sh"

Update

Now takes an optional second param to define the 'webapp' directory (default is still 'webapp') Example:

A) "./testyii.sh unit app"

b) "./testyii.sh functional appdir"

c) "./testyii.sh" (for 'webapp' dir)

Resources

5 2
4 followers
861 downloads
Yii Version: 1.1
License: BSD-2-Clause
Category: Others
Developed by: evan108108
Created on: Mar 29, 2011
Last updated: 12 years ago

Downloads

show all

Related Extensions