https://github.com/formapro/testo
Use your tests as examples for the doc.
https://github.com/formapro/testo
Last synced: about 1 year ago
JSON representation
Use your tests as examples for the doc.
- Host: GitHub
- URL: https://github.com/formapro/testo
- Owner: formapro
- License: mit
- Created: 2012-10-30T13:26:11.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2013-10-11T13:36:10.000Z (almost 13 years ago)
- Last Synced: 2024-11-09T01:19:13.386Z (over 1 year ago)
- Language: PHP
- Homepage:
- Size: 238 KB
- Stars: 4
- Watchers: 15
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Testo [](http://travis-ci.org/formapro/testo)
=====
Do you remember those outdated examples in a documentation?.
Or times while updating documents you had to test examples manually?
This days in the past. Testo come into play.
Example
=======
Let's say you have a `README.md`:
```
@testo examples/Testo/Examples/README.md {
Some description of the awesome code:
@testo 35a8d2d426c05614551484dcdd450f37 }
```
and there is a class:
```php
// @testo Testo\Examples\Hello {
// @testo }
```
So after you run `Testo` there will be clean `README.md`:
```
@testo examples/Testo/Examples/README.md.expected {
Some description of the awesome code:
@testo 35a8d2d426c05614551484dcdd450f37 }
```
What's inside?
==============
```php