- Name: php-pear-Testing_DocTest
- Version: 0.6.0
- Release: 1
- Epoch:
- Group: Development/Languages/PHP
- License: MIT
- Url: http://pear.php.net/package/Testing_DocTest/
- Summary: Testing_DocTest - A Unit Test framework for writing tests in your php code docstrings
- Architecture: noarch
- Size: 106148
- Distribution: PLD
- Vendor: pld
- Packager:
Description:
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 run the extracted tests. Running tests is
as simple as:
$ phpdt /path/to/your/code
There are several advantages in using Testing_DocTest:
- it makes unit tests writing funnier, easier and quicker (there's no
infrastructure to setup, you just install the package, write your code
examples tests and you're done !);
- it ensures that doc comments are up-to-date by verifying that all
examples work as documented;
- it enforces writing of tutorial documentation, liberally illustrated
with input-output examples.
In PEAR status of this package is: beta.
- OptFlags: -O2 -fwrapv -pipe -Wformat -Werror=format-security -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fPIC -march=x86-64
- Cookie:
- Buildhost: ymir-builder
Sources packages:
Other version of this rpm: