2017 © Pedro Peláez
 

library testo

Extract test as example and put them to doc

image

fp/testo

Extract test as example and put them to doc

  • Friday, October 11, 2013
  • by makasim
  • Repository
  • 16 Watchers
  • 4 Stars
  • 1,176 Installations
  • PHP
  • 6 Dependents
  • 0 Suggesters
  • 2 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

Testo Build Status

Do you remember those outdated examples in a documentation?., (*1)

Or times while updating documents you had to test examples manually?, (*2)

This days in the past. Testo come into play., (*3)

Example

Let's say you have a README.md:, (*4)

@testo examples/Testo/Examples/README.md {
Some description of the awesome code:


@testo 35a8d2d426c05614551484dcdd450f37 }

and there is a class:, (*5)

// @testo Testo\Examples\Hello {
// @testo }

So after you run Testo there will be clean README.md:, (*6)

@testo examples/Testo/Examples/README.md.expected {
Some description of the awesome code:


@testo 35a8d2d426c05614551484dcdd450f37 }

What's inside?

<?php
// @testo Testo\Examples\ReadmeTest whatsInside {
// @testo }

The Versions

11/10 2013

dev-master

9999999-dev https://github.com/formapro/testo

Extract test as example and put them to doc

  Sources   Download

MIT

The Requires

  • php >=5.3.2

 

test example doc