Skip to content

Instantly share code, notes, and snippets.

@caironoleto
Created November 12, 2008 02:18
Show Gist options
  • Save caironoleto/24057 to your computer and use it in GitHub Desktop.
Save caironoleto/24057 to your computer and use it in GitHub Desktop.
cairo@lt:~/Workspace/cake/test$ phpunit --testdox AllTests.php
PHPUnit 3.3.2 by Sebastian Bergmann.
Generate
[x] Create a welcome controller
[x] If content of welcome controller is welcome class
[x] Create a user controller
[x] Create a user controller and index view
[x] If content of user controller is user class
[x] If create a index method in welcome controller
[x] If create a index method and destroy method in welcome controller
[x] Create a user model
[x] If can set path
[x] If content of user model equals a string
[x] If create a find all method in user model
[x] Return string with status log
Bin
[x] If cake file exists
[x] If can create a welcome controller
[x] Show usage message without options
[x] If can show message like string when generate controller
[x] If can show message like string when generate two controller
[x] If can show message like string when generate controller with one methods
[x] If can show message like string when generate a model
[x] If can show message like string when generate two models
[x] If can show message like string when generate a model with two methods
[x] If can pass help option
[x] Can not create controller when pass help option and controller option
[x] If can not show messages with option quiet
[x] If show help messages with option quiet and not controller option
Routes
[x] If exists routes file
[x] Add one controller and your routes
[x] If can add two controllers and your routes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment