concise
v2.0.4
  • 1. Installation
  • 2. Writing Tests
  • 3. Assertions
  • 4. Running Tests
  • 5. Mocking
  • 6. Syntaxes
  • 7. Modules
  • 8. Extending Concise
  • 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. Numbers
    • 3.8. Objects and Classes
    • 3.9. Regular Expressions
    • 3.10. Strings
    • 3.11. Types
    • 3.12. 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. Extending Concise
    • 8.1. Using Concise with Other Frameworks
  • 9. Changelog
Next

© Copyright 2015, Elliot Chance. Revision 2e44cf2a.

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

Free document hosting provided by Read the Docs.