PHPackages                             skyzyx/examplify - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Testing &amp; Quality](/categories/testing)
4. /
5. skyzyx/examplify

AbandonedArchivedLibrary[Testing &amp; Quality](/categories/testing)

skyzyx/examplify
================

Makes it easy to re-use your tests as usage examples by enabling you to annotate lines with specialized comments for skipping or swapping.

1.1(14y ago)1161MITPHPPHP &gt;=5.3

Since Feb 8Pushed 14y ago1 watchersCompare

[ Source](https://github.com/skyzyx/examplify)[ Packagist](https://packagist.org/packages/skyzyx/examplify)[ Docs](http://github.com/skyzyx/examplify)[ RSS](/packages/skyzyx-examplify/feed)WikiDiscussions master Synced 4d ago

READMEChangelogDependenciesVersions (2)Used By (0)

Examplify! Component
====================

[](#examplify-component)

The purpose of writing tests should be two-fold: (a) To test the source code, and (b) to provide instruction for how to use the source code. Tests written from an instructionary point-of-view are a great way to both teach and test, but sometimes there are bits of code that are necessary for testing, but aren't necessary for instruction.

Examplify! makes it easy to re-use your tests as usage examples by enabling you to annotate lines with specialized comments for skipping or swapping.

- **example** |igˈzampəl| (verb) be illustrated or exemplified : *the extent of Allied naval support is exampled by the navigational specialists provided.*
- **exemplify** |igˈzempləˌfī| (verb) be a typical example of : *give an example of; illustrate by giving an example.*
- **amplify** |ˈampləˌfī| (verb) enlarge upon or add detail to (a story or statement) : *the notes amplify information contained in the statement.*

And yes, the exclamation point is part of the name. :)

Example
-------

[](#example)

Using this [sample file](http://github.com/skyzyx/examplify/blob/master/_tests/sample.php) as your input:

```
