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)
User Contributed Notes 3
So that's what you guys are up to ;)
Can't wait to check it out -- Dana
Works pretty smoothly
I had to adjust mine slightly since I don't use the directory structure that you mentioned. It would be a nice option to be able to pass in the name of the 'webapp' directory to be used.
UPDATE: You can now pass in the name of the 'webapp' directory to be used
Hi danaluther,
Great suggestion! sorry it took so long to get this feature added.
Leave a comment
If you have any questions, please ask in the forum instead.
Join the conversation to share a note.