How to make PHPUnit Code Coverage 2+ times faster with Pcov compared to Xdebug

This page summarizes the projects mentioned and recommended in the original post on dev.to

InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  • framework

  • To keep things simple, I forked the Laravel/framework Github repo. After that, I change the Github Actions tests workflow to run tests only on PHP 7.4 which the current stable version. You can see the changes I made in this pull request.

  • Laravel

    The Laravel Framework.

  • I picked up the Laravel framework not only because it is very popular but also because there were a lot of tests, more than 5700 of them. On top of it, for the Laravel 8.x branch, the tests are running on Github Actions.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • PCOV

    PCOV - CodeCoverage compatible driver for PHP

  • XDebug is a debugger that can do coverage too. PHPdbg is another alternative to Xdebug. Pcov is built for PHPUnit code coverage, not something else.

  • pcov-clobber

    Run PCOV in versions of PHPUnit before 8, if you must ...

  • PHPUnit 8 and above supports PCOV out of the box, for PHPUnit 7 and lower you will need pcov-clobber

  • laravel-docker

    🐳 Generic docker image for Laravel Applications (by lorisleiva)

  • Pcov was 4.43 times faster on my local machine inside a docker container.

  • SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • Laravel is getting native types for v10 🎉

    6 projects | /r/laravel | 28 Oct 2022
  • How do you avoid calling the date format, number format, etc. all the time

    2 projects | /r/laravel | 1 Aug 2021
  • Deploying Laravel on Lamp Stack with Linux(Ubuntu)

    2 projects | dev.to | 9 May 2024
  • ¿PHP, Muerto o No?

    2 projects | dev.to | 4 May 2024
  • Como configurar imagem Docker(PHP e Nginx) para projetos Laravel com PHP 8.3

    1 project | dev.to | 24 Apr 2024