• Stars
    star
    134
  • Rank 262,882 (Top 6 %)
  • Language
    PHP
  • License
    Apache License 2.0
  • Created almost 9 years ago
  • Updated 8 days ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Run PHPUnit tests in parallel

facile-it/paraunit

PHP Version Stable release Unstable release composer.lock

Build status Coverage Status

Paraunit is a tool for faster executions of PHPUnit test suites. It makes this possible by launching multiple test in parallel with single PHPUnit processes.

Paraunit is developed using Symfony components.

Installation

To use this package, use Composer:

  • from CLI: composer require --dev facile-it/paraunit
  • or, directly in your composer.json:
{
    "require-dev": {
        "facile-it/paraunit": "^2.0"
    }
}

Compatibility

You can use Paraunit with many versions of PHPUnit or Symfony, following this compatibility list:

Paraunit version Compatible PHPUnit Version Compatible Symfony Version
2.0 10+ 4.4, 5, 6
1.3 9.3+ 4.4, 5, 6
1.2 9.3+ 3.4, 4, 5
1.1 9.1, 9.2 3.4, 4, 5
1.0.* 7, 8 3.4, 4, 5
0.12.* 6, 7 2.8, 3, 4

Usage

Paraunit starts as a Symfony console command, but it's provided through a bin launcher; you can run it like this:
(assuming your Composer's bin dir is vendor/bin)

vendor/bin/paraunit run

This command will launch all the tests in all your configured testsuites.

Collect test coverage

Paraunit is also able to collect the test coverage in parallel, like this:

vendor/bin/paraunit coverage --html=./dir

It automatically uses the best coverage driver available: it tries to use Pcov if available (since it's the fastest), otherwise it uses Xdebug. If neither are available, it should always be able to use PHPDbg, which is bundled in PHP core, so it should be always present. It can produce coverage in the same formats that PHPUnit provides: HTML, Clover, XML, Crap4j, PHP, text file and text to console.

Documentation

For more details about Paraunit and its usage, see the documentation

More Repositories

1

doctrine-mysql-come-back

Doctrine DBAL able to try reconnect on MySQL has gone away exceptions
PHP
195
star
2

FunctionalKit

Basic functions and combinators for functional programming in Swift.
Swift
85
star
3

php-openid-client

PHP OpenID Client
PHP
35
star
4

mongodb-bundle

Bundle service integration of official mongodb/mongo-php-library
PHP
35
star
5

rabbitmq-consumer

A configurable RabbitMQ consumer made in Rust, useful for a stable and reliable CLI commands processor.
Rust
27
star
6

terminable-loop-command

A Shell+PHP wrapper to run Symfony console commands in loop under a daemon or Kubernetes
PHP
26
star
7

mutoid

Reactive library for data fetching, caching, state management
TypeScript
25
star
8

sentry-module

This module allows integration of Sentry Client into laminas and mezzio
PHP
18
star
9

facile-it.github.io

Facile.it Engineering Blog
HTML
16
star
10

crossbar-http-publisher-bundle

This bundle allows to submit PubSub events via HTTP/POST requests to a Crossbar HTTP Publisher.
PHP
10
star
11

facile-coding-standard

Repository with all coding standard ruleset used in Facile.it
PHP
10
star
12

moka

Shorthand for creating mock objects ☕
PHP
9
star
13

php-codec

A partial porting of io-ts in PHP.
PHP
9
star
14

sentry-psr-log

PSR Logger for Sentry
PHP
7
star
15

fortepiano

Playing actual music over fp-ts notes
TypeScript
7
star
16

paraunit-testcase

TestCase and client to test Symfony applications with Doctrine database isolation
PHP
6
star
17

SourceryTemplates

A collection of templates for Sourcery, written in Stencil.
6
star
18

Optics

Lenses and Prisms for Swift
Swift
6
star
19

eslint-config-facile

eslint-config-facile
TypeScript
6
star
20

NavigationHelper

A simple helper to aid navigation in iOS and macOS apps
Swift
4
star
21

paginator-bundle

Symfony2 Paginator Bundle
PHP
4
star
22

NetworkingKit

Basic abstractions for HTTP requests
Swift
4
star
23

json-api-ts

TypeScript
3
star
24

easy-android

A set of common utils functions used within Facile.it Android applications
Kotlin
3
star
25

json-api-php

A JSON API Serializer/Deserializer made in PHP
PHP
3
star
26

zf-link-headers-module

Zend Framework module to push Link headers for resourcers added with HeadLink view helper
PHP
3
star
27

Functional

Basic functions and combinators for functional programming in Swift.
Swift
3
star
28

capistrano-strategy-copy-with-triggers

Capistrano copy-strategy fork that offers some hooks to prepare the build before compression and distribution.
Ruby
3
star
29

DialogContainerController

Swift
2
star
30

doctrine-dynamic-discriminator-map

Doctrine Dynamic Discriminator Map
PHP
2
star
31

hackathon2015

Facile.it Hackathon 2015 website
HTML
2
star
32

php-jose-verifier

JOSE JWT verifiers for OAuth2 and OpenID tokens
PHP
2
star
33

openid-bundle

A Symfony bundle to do authorization through a third-party OpenId provider
PHP
1
star
34

hackathon2017

Website for FacileHack 2017 edition
CSS
1
star
35

xcode-testing-in-pratica

Progetto Xcode associato all'articolo "Xcode Testing in pratica"
Swift
1
star
36

validoo

PHP
1
star
37

mongodb-messenger-transport

A Symfony Messenger transport on MongoDB, on top of facile-it/mongodb-bundle
PHP
1
star
38

php-oauth2-http-client

HTTPlug plugin for OpenID/OAuth2 authorization support
PHP
1
star