PhpSpec logo

PhpSpec

A toolset for behavior driven development
51
21
+ 1
3

What is PhpSpec?

It is a tool which can help you write clean and working PHP code using behaviour driven development or BDD. BDD is a technique derived from test-first development.
PhpSpec is a tool in the Testing Frameworks category of a tech stack.

Who uses PhpSpec?

Companies
9 companies reportedly use PhpSpec in their tech stacks, including Stack, TransferGo, and Fixico.

Developers
13 developers on StackShare have stated that they use PhpSpec.

PhpSpec Integrations

Pros of PhpSpec
1
BDD Unit Testing
1
Better for code optimisation (BDD over TDD)
1
Mocked dependant services by default

PhpSpec's Features

  • Specification-oriented BDD framework
  • write clean and working PHP code

PhpSpec Alternatives & Comparisons

What are some alternatives to PhpSpec?
PHPUnit
PHPUnit is a programmer-oriented testing framework for PHP. It is an instance of the xUnit architecture for unit testing frameworks.
Behat
It is an open source Behavior-Driven Development framework for PHP. It is a tool to support you in delivering software that matters through continuous communication, deliberate discovery and test-automation.
Codeception
Full-stack testing framework for PHP. Run browsers tests, framework tests, APIs tests, unit tests with ease.
JUnit
JUnit is a simple framework to write repeatable tests. It is an instance of the xUnit architecture for unit testing frameworks.
Cucumber
Cucumber is a tool that supports Behaviour-Driven Development (BDD) - a software development process that aims to enhance software quality and reduce maintenance costs.
See all alternatives

PhpSpec's Followers
21 developers follow PhpSpec to keep up with related blogs and decisions.