PHPackages                             turanct/omikron - 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. turanct/omikron

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

turanct/omikron
===============

Simple, functional programming style test framework

0.6.0(10y ago)26127MITPHP

Since Feb 20Pushed 10y ago4 watchersCompare

[ Source](https://github.com/turanct/omikron)[ Packagist](https://packagist.org/packages/turanct/omikron)[ Docs](http://github.com/turanct/omikron)[ RSS](/packages/turanct-omikron/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (1)Versions (8)Used By (0)

Omikron Test Framework
======================

[](#omikron-test-framework)

[![Travis CI](https://camo.githubusercontent.com/db3316627ff443168a58f78967a5c9093584f250e1e9f5532f5318416f5a0eb2/68747470733a2f2f6170692e7472617669732d63692e6f72672f747572616e63742f6f6d696b726f6e2e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/turanct/omikron)

A simple, functional programming inspired, test framework.

[![Ouroboros, the greek dragon eating its own tail](docs/omikron.png)](docs/omikron.png)

This project was started as a reaction to [this issue](https://github.com/mathiasverraes/lambdalicious/issues/22) and was initially [a gist](https://gist.github.com/turanct/129a6ed97ec3543ebafd). It's currently *not meant to be used in production*, but there's nobody stopping you if you want to.

Usage
-----

[](#usage)

Installing it is easy, just require `turanct/omikron` as a development dependency in your `composer.json` file, and configure a `bin-dir`. The omikron executable will be available in your bin directory when you've run `composer install`.

```
{
    "require-dev": {
        "turanct/omikron": "dev-master"
    },
    "config": {
        "bin-dir": "bin"
    }
}
```

Omikron has a concept of topics, topics are distinct parts of your code under test. These topics have different features, and to describe those features, there are assertions.

```
