Download the PHP package atoum/atoum-bundle without Composer

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

AtoumBundle

Build Status

This bundle provides a (very) simple integration of atoum, the simple, modern and intuitive unit testing framework for PHP, from mageekguy into Symfony2.

Installation

1 - With composer

In most of the cases you don't need AtoumBundle in your production environment.

2 - Command

AtoumBundle is provided with a Symfony command. You can launch atoum tests on specific bundles.

2-a Registering in the kernel

You have to define AtoumBundle on AppKernel

2-b Configuration

Define your bundles on configuration (if you want to use it only in test environment, in config_test.yml only):

2-c Command-line usage

Then you can use:

Simple Usage

Make your test class extend the class of the bundle.

Don't forget to load this class with your favorite method (require, autoload, ...) if you don't use composer.

Web test case

You can easily create a kernel environment:

Command test case

You can also easily test a command:

Known issues

Test a controller

You can test your controller with the class (it extends WebTestCase - each file must correspond to a Symfony2 controller):

Test a form type

You can test your form types with the class as the official symfony 2 documentation shows it. But as the official documentation fits the PHPUnit testing framework, here comes this documentation first example atoum-translated :

Faker data

AtoumBundle integrates with Faker library.

In your tests classes, you have access to a instance with the asserter.

See Faker's documentation about its usage.


All versions of atoum-bundle with dependencies

PHP Build Version
Package Version
Requires php Version >=5.3.3
symfony/framework-bundle Version >=2.3.0|^3.0
symfony/console Version >=2.3.0|^3.0
symfony/finder Version >=2.3.0|^3.0
symfony/dom-crawler Version >=2.3.0|^3.0
symfony/css-selector Version >=2.3.0|^3.0
atoum/atoum Version ^3.1.1
fzaninotto/faker Version 1.*
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 atoum/atoum-bundle contains the following files

Loading the files please wait ....