spadgos / sublime-jsdocs

Simplifies writing DocBlock comments in Javascript, PHP, CoffeeScript, Actionscript, C & C++
MIT License
3.11k stars 278 forks source link

documentation for PHPUnit #404

Open amirmasoud opened 8 years ago

amirmasoud commented 8 years ago

I search the web and there is no any good way for commenting on PHPUnit asserts, I have a suggestion for commenting on them and I think it can help to understand them easier:

for each assert:

/**
 * @false  condition 1
 * @true   condition 2
 *
 * @expect assertValue
 */

I'm not sure it's a good way of doing this and just suggesting, If there is any already made annotation for commenting on the PHP unit tests I would be thankful to hear.

gerardroche commented 8 years ago

I think this is what you're looking for: https://packagecontrol.io/packages/PHPUnit%20Completions