2017 © Pedro PelĂĄez
 

library phpunit-generator

A PHPUnit 6 / 7 tests skeletons generator

image

paulthebaud/phpunit-generator

A PHPUnit 6 / 7 tests skeletons generator

  • Tuesday, July 17, 2018
  • by paul-thebaud
  • Repository
  • 3 Watchers
  • 19 Stars
  • 736 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 19 Versions
  • 4 % Grown

The README.md

, (*1)

Latest Version on Packagist Minimum PHP Version Build Status Coverage Status ![Scrutinizer][ico-scrutinizer] Software License Total Downloads, (*2)

:warning: Repository and package abandonned :warning:

This repository and the paulthebaud/phpunit-generator package are abandonned, in favor of the new version you can check out here. If you want to use as command line, use this package instead: phpunitgen/console., (*3)


Following remains for historical purpose., (*4)

PhpUnitGen is an open source development tool which will help you writing your unit tests for PHPUnit 6 / 7:, (*5)

  • Generate unit skeleton for all PHP files including classes, traits, interfaces and global functions.
  • Automatically generate a few simple unit tests (like getter / setter methods tests, class instantiation).

You can try and use this package on a web application, at phpunitgen.io., (*6)

Version 2 of PhpUnitGen is now available, but be careful, it breaks the PhpUnitGen 1.x.x API., (*7)

Image of PhpUnitGen rendering, (*8)

Package structure

build/      ==> Build results (code coverage ...) [only after running composer test].
config/     ==> Default PhpUnitGen configurations.
examples/   ==> Examples about this package (configuration, parsing examples).
src/        ==> Package source files.
template/   ==> Package template for generated tests skeletons.
tests/      ==> Package unit tests.
vendor/     ==> Composer dependencies [only after running composer install].

Installation

Best way to install this package is with composer dependency manager., (*9)

$ composer require --dev paulthebaud/phpunit-generator ^2.0

--dev option is used to install this package only in development environment., (*10)

Documentation

PhpUnitGen documentation is available online on doc.phpunitgen.io., (*11)

It give multiple information on PhpUnitGen: * Installation of the package. * Usage of web application. * Usage of command line. * Usage of with PHP code. * Usage of annotations. * Communication around the PhpUnitGen project., (*12)

Running tests

$ composer test

Contributing

Please see CONTRIBUTING for more details., (*13)

Credits

License

The MIT License (MIT). Please see License File for more information., (*14)

The Versions

13/10 2017

1.1.5

1.1.5.0 https://github.com/paul-thebaud/phpunit-generator

A PHPUnit6 tests skeletons generator

  Sources   Download

MIT

The Requires

 

The Development Requires

by Paul Thébaud

test phpunit php generator tests unit

27/08 2017

1.1.4

1.1.4.0 https://github.com/paul-thebaud/phpunit-generator

A PHPUnit6 tests skeletons generator

  Sources   Download

MIT

The Requires

 

The Development Requires

by Paul Thébaud

test phpunit php generator tests unit

23/08 2017

1.1.3

1.1.3.0 https://github.com/paul-thebaud/phpunit-generator

A PHPUnit6 tests skeletons generator

  Sources   Download

MIT

The Requires

 

The Development Requires

by Paul Thébaud

test phpunit php generator tests unit

18/08 2017

1.1.2

1.1.2.0 https://github.com/paul-thebaud/phpunit-generator

A PHPUnit6 tests skeletons generator

  Sources   Download

MIT

The Requires

 

The Development Requires

by Paul Thébaud

test phpunit php generator tests unit

09/08 2017

1.1.1

1.1.1.0 https://github.com/paul-thebaud/phpunit-generator

A PHPUnit6 tests skeletons generator

  Sources   Download

MIT

The Requires

 

The Development Requires

by Paul Thébaud

test phpunit php generator tests unit

07/08 2017

1.1.0

1.1.0.0 https://github.com/paul-thebaud/phpunit-generator

A PHPUnit6 tests skeletons generator

  Sources   Download

MIT

The Requires

 

The Development Requires

by Paul Thébaud

test phpunit php generator tests unit

07/08 2017

1.0.3

1.0.3.0 https://github.com/paul-thebaud/phpunit-generator

A PHPUnit6 tests skeletons generator

  Sources   Download

MIT

The Requires

 

The Development Requires

by Paul Thébaud

test phpunit php generator tests unit

05/08 2017

1.0.1

1.0.1.0 https://github.com/paul-thebaud/phpunit-generator

A PHPUnit6 tests skeletons generator

  Sources   Download

MIT

The Requires

 

The Development Requires

by Paul Thébaud

test phpunit php generator tests unit

02/08 2017

1.0.0

1.0.0.0

A PHPUnit6 tests skeletons generator

  Sources   Download

MIT

The Requires

 

The Development Requires

by Paul Thébaud

test phpunit php generator tests unit