Download the PHP package halleck45/mutatesting without Composer

On this page you can find all versions of the php package halleck45/mutatesting. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package mutatesting

MutaTesting

Mutation testing tool for PHP.

Build Status Latest Stable Version

According to Wikipedia:

Mutation testing (or Mutation analysis or Program mutation) evaluates the quality of software tests. Mutation testing involves modifying a program's source code or byte code in small ways.

MutaTesting supports PHPUnit and atoum. You can create an adapter for any PHP testing framework.

 Requirements

You only need PHP 5.3 . No specific PHP extension is required...

Installation

 As phar archive

Simply download the phar archive and run the following command :

With Composer

Edit your composer.json:

And run Composer:

Usage

Example for PHPUnit:

Example for atoum:

Note that you don't need to use the -d or -f option with atoum...

Advanced usage

Strategy

In order to avoid to have too much mutants, MutaTesting uses PhpMetrics in order to estimate number of bugs in each tested file, and focuses only on files that contain more anomalies.

You can use the --bugs option to define the limit to use.

For example, --bugs=".6" means that mutants are preserved only if there is at least 0.6 estimated bugs in the tested file.

Formatters

To have a html report file, tou need to use the --report-html option.

Testing options

If your tests need options, you can pass them with --options

 Parallelization

You can change the number of parallelized tests with the processes options :

 Performance

MutaTesting is very slow : your unit tests will be runned as many times as there are mutant. In order to increase performance, a cache file is created in /tmp/muta-cache.php.

Copyright

Copyright (c) 2014 Jean-François Lépine. See LICENSE for details.


All versions of mutatesting with dependencies

PHP Build Version
Package Version
Requires php Version >=5.3
symfony/console Version ~2.0
symfony/config Version ~2.0
symfony/process Version ~2.0
symfony/event-dispatcher Version ~2.0
sebastian/diff Version 1.0.*@dev
twig/twig Version 1.15
halleck45/php-metrics Version master
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package halleck45/mutatesting contains the following files

Loading the files please wait ....