Download the PHP package desarrolla2/test-bundle without Composer

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

TestBundle

This bundle allows you to perform functional tests quickly and easily with symfony.

Instalation

It is best installed it through packagist by including desarrolla2/test-bundle in your project composer.json require:

Usage

You just have to extend WebTestCase to start using the power of this bundle.

Examples

Here are some examples

  1. make a request and check that the answer is a 200 in html

  2. complete a form, send it and check that a 301 returns. We always do redirect, when a form has passed the validation.

As you can see, doing functional tests with this bundle is really easy. Go ahead and discover all the utilities that it brings

Reporting

Each time a request is executed, the result of the response is stored in desarrolla2.request.latest. If you have phpunit configured to stop when it fails, here you will have in HTML format the response of the request that failed, which will allow you to find the error more quickly.

The bundle also brings the command php bin / console phpunit: statistics --env = test if you execute it it will show you:

  1. A summary of the time taken to execute the tests, how many requests were made, average per request and number of routes not tested.

  2. In the file desarrolla2.routes.tested.txt the detail of all the requests that were made, and how long it took to execute each one.

  3. In the file desarrolla2.tested.pending.txt the detail of the routes that have not been tested.

  4. In the file desarrolla2.classes.profile.txt the detail of the tests executed, and how long it took to execute each one

Contact

You can contact with me on @desarrolla2.


All versions of test-bundle with dependencies

PHP Build Version
Package Version
Requires php Version >=8.0
symfony/framework-bundle Version ^5.0|^6.0
desarrolla2/cache Version *
desarrolla2/timer Version *
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 desarrolla2/test-bundle contains the following files

Loading the files please wait ....