Software Alternatives, Accelerators & Startups

Codeception VS Capybara

Compare Codeception VS Capybara and see what are their differences

Codeception logo Codeception

Codeception is a new full-stack testing PHP framework.

Capybara logo Capybara

Capybara helps you test web applications by simulating how a real user would interact with your app.
  • Codeception Landing page
    Landing page //
    2022-08-03
  • Capybara Landing page
    Landing page //
    2022-11-05

Codeception videos

Our First Acceptance Test [6/24] Codeception & Symfony2

More videos:

  • Tutorial - How to Run Codeception Tests [5/24] Codeception & Symfony2
  • Review - Bootstrapping Codeception [2/24] Codeception & Symfony2

Capybara videos

Kalibrgun CAPYBARA Released - FIRST REVIEW 2019

More videos:

  • Review - Schrade Old Timer 30OT Capybara Fixed Blade Knife Review
  • Review - Capybara Video Review

Category Popularity

0-100% (relative to Codeception and Capybara)
Automated Testing
42 42%
58% 58
Browser Testing
53 53%
47% 47
Testing
23 23%
77% 77
Website Testing
67 67%
33% 33

User comments

Share your experience with using Codeception and Capybara. For example, how are they different and which one is better?
Log in or Post with

Social recommendations and mentions

Based on our record, Capybara should be more popular than Codeception. It has been mentiond 12 times since March 2021. We are tracking product recommendations and mentions on various public social media platforms and blogs. They can help you identify which product is more popular and what people think of it.

Codeception mentions (8)

  • Any pro-tips for writing automated tests with Selenium PHP?
    Personal experience: - don’t use Behat unless you really needed a “story telling”, it has a intermediate layer Gherkin that you’ll need to code. You can write “Given/When/Then” steps but you’ll also need to write “php code” that will interpret this step. - using real browser be prepared for instability - any interaction with JavaScript can broken/delay execution - be prepared that this tests are call functional... Source: about 1 year ago
  • PHPUnit, do i need to learn it?
    Codeception: https://codeception.com/. Source: over 1 year ago
  • Advice for an older symfony 4.4 project
    I would say to check out Codeception. Codeceptions has modules for Symfony and database generally. Long and short of it is that if you want you can run api tests that go into the controllers and rollback the database afterwards. Source: almost 2 years ago
  • Automating Tests using CodeceptJS and Testomat.io: First Steps
    There are enough blog posts about Jest or Cypress already, so let me introduce Codecept. It comes in two flavors. There is Codeception for PHP, and there is CodeceptJS for JavaScript which we will be using here. - Source: dev.to / almost 2 years ago
  • Testing PHP Applications
    There are many tools you can use for this purpose, but one I particularly like is CodeCeption. What I like most about it is that it's a unified tool that can be used to perform several types of tests, acceptance being one of them. - Source: dev.to / almost 2 years ago
View more

Capybara mentions (12)

View more

What are some alternatives?

When comparing Codeception and Capybara, you can also consider the following products

PHPUnit - Application and Data, Build, Test, Deploy, and Testing Frameworks

Cucumber - Cucumber is a BDD tool for specification of application features and user scenarios in plain text.

PEST - An elegant PHP testing framework with a focus on simplicity

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.

RSpec - RSpec is a testing tool for the Ruby programming language born under the banner of Behavior-Driven Development featuring a rich command line program, textual descriptions of examples, and more.

Robot framework - Robot Framework is a generic test automation framework for acceptance testing and acceptance...