# phpunit --skeleton-test <classname> <relative or absolute path of the file>
This gives you,
- Placeholder tests for all public methods of the target class
- Marks these tests as incomplete for easy tracking
- Gives a tear down and setup methods for you to initialize and destroy test fixtures
- Basic construction of the object
Lots of lines of test code by typing one-liner shell command. That's what you call productivity!
No comments:
Post a Comment