Download the PHP package umc/uutg without Composer

On this page you can find all versions of the php package umc/uutg. 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 uutg

Ultimate Unit Test Generator (UUTG)

This is a standalone application for generating the boilerplate for unit tests for PHP unit

Story

I like writing unit tests for the code I write. But I don't like writing the same thing over and over again.
So I created this application that does (should do / will hopefully do) the boilerplate for me.

What it does.

It generates a class which extends PHPUnit\Framework\TestCase and contains

Example

(follow the inline comments in the generated code) For this class and the default profile (see profiles section lower)

it will generate this unit test class

How to configure it

You can create your own configuration file starting from uutg.php.dist and use it instead of the default one. Each element in the configuration file is explained inside uutg.php.dist

How to use it.

You can install if via composer First configure the repository

Then install de library as a dev dependency

if you installed this via composer you can run it via cli
php ./vendor/bin/uutg --class="Class\\NameHere" [--config=path/to/config/file]

if you installed it "manually" you can run it similar to the composer version php ./uutg --class="Class\\NameHere" [--config=path/to/config/file] but you have to make sure your class can be autoloaded but the script.

FAQs and comments

  1. "But TDD says you should write the test first and then the class. You are doing it the other way around.". Yes you are right.
  2. "Will this make me better at unit testing?". No. It will only make you faster.
  3. "This application does not have unit tests.". Right again.

All versions of uutg with dependencies

PHP Build Version
Package Version
No informations.
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 umc/uutg contains the following files

Loading the files please wait ....