concise
dev
  • 1. Installation
  • 2. Writing Tests
  • 3. Assertions
  • 4. Running Tests
  • 5. Mocking
  • 6. Syntaxes
  • 7. Modules
  • 8. Integrations
  • 9. Changelog
concise
  • Docs »
  • concise
  • Edit on GitHub

conciseΒΆ

https://travis-ci.org/elliotchance/concise.svg?branch=master

Concise is unit testing framework that uses plain English and minimal code. It extends and is fully compatible with existing PHPUnit projects.

https://raw.githubusercontent.com/wiki/elliotchance/concise/image-concise-command.png

Highlights include:

  • 100% compatible with PHPUnit, no changes required. You may use as many features as you wish.
  • Much better mocking framework with a lot less typing.
  • Huge array of assertions to save on boilerplate code.
  • Assert and verify are supported.
  • 1. Installation
    • 1.1. Requirements
    • 1.2. Composer
  • 2. Writing Tests
    • 2.1. Simple Example
    • 2.2. Verify vs Assert
  • 3. Assertions
    • 3.1. Arrays
    • 3.2. Basic
    • 3.3. Booleans
    • 3.4. Date and Time
    • 3.5. Exceptions
    • 3.6. Files
    • 3.7. Hashing (Cryptography)
    • 3.8. Numbers
    • 3.9. Objects and Classes
    • 3.10. Regular Expressions
    • 3.11. Strings
    • 3.12. Types
    • 3.13. URLs
  • 4. Running Tests
    • 4.1. The Concise CLI
    • 4.2. Continuous Integration (CI)
  • 5. Mocking
    • 5.1. Creating Mocks
    • 5.2. Verifying Mocks
    • 5.3. Exposing
    • 5.4. Stubbing
    • 5.5. Expectations
    • 5.6. Actions
    • 5.7. Properties
    • 5.8. Limitations
  • 6. Syntaxes
    • 6.1. What is a Syntax?
    • 6.2. Restricting Data Types
    • 6.3. Special Data Types
  • 7. Modules
    • 7.1. Creating a Module
    • 7.2. Loading a Module
    • 7.3. Testing Modules
    • 7.4. IDE and Code Completion
  • 8. Integrations
    • 8.1. Pho
    • 8.2. PHPUnit
    • 8.3. Other Frameworks
  • 9. Changelog
Next

© Copyright 2015, Elliot Chance. Revision bdea3b15.

Built with Sphinx using a theme provided by Read the Docs.
Read the Docs v: dev
Versions
latest
stable
dev
v2.1.0
v2.0.6
v2.0.5
v2.0.4
v2.0.3
v2.0.2
v2.0.1
v2.0.0
Downloads
pdf
htmlzip
epub
On Read the Docs
Project Home
Builds

Free document hosting provided by Read the Docs.