PHPackages                             irfantoor/test - 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. irfantoor/test

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

irfantoor/test
==============

Irfan's Test : A super fast bare minimum testing suite

0.8.2(4y ago)0415↓85.7%11MITPHPPHP &gt;= 7.3

Since Jan 6Pushed 4y ago1 watchersCompare

[ Source](https://github.com/irfantoor/test)[ Packagist](https://packagist.org/packages/irfantoor/test)[ RSS](/packages/irfantoor-test/feed)WikiDiscussions main Synced 2d ago

READMEChangelogDependencies (1)Versions (34)Used By (11)

Irfan's Test
============

[](#irfans-test)

A super fast bare minimum testing suite

Require it using composer:

```
$ composer require --dev irfantoor/test
```

How to use test?
================

[](#how-to-use-test)

```
$ cd github/yourname/yourproject/

# require it as --dev dependency inside your project
$ composer require --dev irfantoor/test

# you can use the following syntax in the base folder of your prject:
$ ./vendor/bin/test

# Note: By default it will try to locate the test classes in the tests folder and will
# execute all the unit tests.
```

Usage with an example
---------------------

[](#usage-with-an-example)

An example php file, is included here to serve as a fast example of how you can use the unit tests.

Filename: examples/MyClassTest.php Note: filename must match with the test class name, i.e. the filename implies that the test class defined int the file is: MyClassTest

```
