Need advice about which tool to choose?Ask the StackShare community!

Codeception

100
90
+ 1
3
PhpSpec

61
24
+ 1
3
Add tool

Codeception vs PhpSpec: What are the differences?

Codeception: Elegant and Efficient Testing for PHP. Full-stack testing framework for PHP. Run browsers tests, framework tests, APIs tests, unit tests with ease; PhpSpec: A toolset for behavior driven development. 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.

Codeception and PhpSpec can be primarily classified as "Testing Frameworks" tools.

Get Advice from developers at your company using Private StackShare. Sign up for Private StackShare.
Learn More
Pros of Codeception
Pros of PhpSpec
  • 3
    Easy to get up and running some simple tests
  • 1
    BDD Unit Testing
  • 1
    Better for code optimisation (BDD over TDD)
  • 1
    Mocked dependant services by default

Sign up to add or upvote prosMake informed product decisions

Cons of Codeception
Cons of PhpSpec
    Be the first to leave a con
    • 1
      Less support; devs are more used to PHP Unit

    Sign up to add or upvote consMake informed product decisions

    What is Codeception?

    Full-stack testing framework for PHP. Run browsers tests, framework tests, APIs tests, unit tests with ease.

    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.

    Need advice about which tool to choose?Ask the StackShare community!

    What companies use Codeception?
    What companies use PhpSpec?
    See which teams inside your own company are using Codeception or PhpSpec.
    Sign up for Private StackShareLearn More

    Sign up to get full access to all the companiesMake informed product decisions

    What tools integrate with Codeception?
    What tools integrate with PhpSpec?
    What are some alternatives to Codeception and PhpSpec?
    Selenium
    Selenium automates browsers. That's it! What you do with that power is entirely up to you. Primarily, it is for automating web applications for testing purposes, but is certainly not limited to just that. Boring web-based administration tasks can (and should!) also be automated as well.
    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.
    CodeceptJS
    It is a modern end to end testing framework with a special BDD-style syntax. The test is written as a linear scenario of user's action on a site. Each test is described inside a Scenario function with I object passed into it.
    Cypress
    Cypress is a front end automated testing application created for the modern web. Cypress is built on a new architecture and runs in the same run-loop as the application being tested. As a result Cypress provides better, faster, and more reliable testing for anything that runs in a browser. Cypress works on any front-end framework or website.
    See all alternatives