Easy Install Not sure? Get more info. pear install Testing_DocTest Pyrus Install Try PEAR2's installer, Pyrus. php pyrus.phar install pear/Testing_DocTest Testing_DocTest allows the developer to write unit tests directly in the <code></code> blocs of your functions, classes and class methods doc comments. It comes with a default runner (phpdt) that will parse all your <code></code> blocs and will