Skip to content

Commit

Permalink
Added unit testing info to README file
Browse files Browse the repository at this point in the history
  • Loading branch information
Craig Marvelley committed Nov 12, 2010
1 parent b178a7b commit ab25991
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion README.markdown
Expand Up @@ -49,7 +49,7 @@ $orientation = $image->getOrientation();

</pre>

It's possible to manually manipulate the image through an ImageDecorator, though it's recommended that this is achieved
It's possible to manually manipulate the image through an ImageDecorator, though it's recommended that this is achieved
through a ThumbnailFactory. Nevertheless, here are some examples.

Resizing an image:
Expand Down Expand Up @@ -186,4 +186,18 @@ catch(BoxUK\Obscura\Exception $e) {
// Handle error
}

</pre>

### Unit Testing

Obscura is substantially unit tested. To run the tests, you'll need PHPUnit installed and in your path. Then you can run

<pre>
> phpunit tests/php
</pre>

or, if you have phing installed,

<pre>
phing tests
</pre>

0 comments on commit ab25991

Please sign in to comment.