Download the PHP package crysalead/kahlan without Composer
On this page you can find all versions of the php package crysalead/kahlan. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download crysalead/kahlan
More information about crysalead/kahlan
Files in crysalead/kahlan
Download crysalead/kahlan
More information about crysalead/kahlan
Files in crysalead/kahlan
Vendor crysalead
Package kahlan
Short Description The PHP Test Framework for Freedom, Truth and Justice.
License MIT
Package kahlan
Short Description The PHP Test Framework for Freedom, Truth and Justice.
License MIT
Please rate this library. Is it a good library?
Informations about the package kahlan
Kahlan is a full-featured Unit & BDD test framework a la RSpec/JSpec which uses a describe-it
syntax and moves testing in PHP one step forward.
Kahlan lets you stub or monkey patch your code directly like in Ruby or JavaScript without any required PECL-extensions.
Videos
- Warren Seymour presentation at Unified Diff (2015)
- Grafikart presentation in French (2016, Kahlan 2.X)
IRC
chat.freenode.net (server) #kahlan (channel)
Documentation
See the full documentation here
Requirements
Main Features
- RSpec/JSpec syntax
- Code Coverage metrics (xdebug or phpdbg required)
- Handy stubbing system (mockery or prophecy are no longer needed)
- Set stubs on your class methods directly (i.e allows dynamic mocking)
- Ability to Monkey Patch your code (i.e. allows replacement of core functions/classes on the fly)
- Check called methods on your classes/instances
- Built-in Reporters (Terminal or HTML reporting through istanbul or lcov)
- Built-in Exporters (Coveralls, Code Climate, Scrutinizer, Clover)
- Extensible, customizable workflow
Syntax
Screenshots
Example of default reporting:
Example of verbose reporting:
Example of code coverage on a specific scope:
Installation
via Composer
Note:
Kahlan uses the Semantic Versioning and maintains a CHANGELOG
to help you easily understand what's happening.
via Git clone
All versions of kahlan with dependencies
PHP Build Version
Package Version
Requires
php Version
>=7.1
The package crysalead/kahlan contains the following files
Loading the files please wait ....