Download the PHP package jasny/codeception-module without Composer

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

Codeception Jasny MVC Module

Build Status Scrutinizer Code Quality Code Coverage SensioLabsInsight Packagist Stable Version Packagist License

This module allows you to run tests using Jasny MVC.

Install

Via commandline:

Via composer.json:

Config

Container

The container an object that takes care or depency injection. It must be an object the implements Interop\Container\ContainerInterface. If you're project doesn't use an dependency injection container, you can use Picotainer, which is automatically installed with this codeception module.

The container must contain an item for Jasny\RouterInterface.

Example of container.php using Picotainer.

The cointain may have a Psr\Http\Message\ServerRequestInterface and Psr\Http\Message\ResponseInterface item.

Legacy code

The Jasny PSR-7 http message implementation is capable of dealing with legacy code by binding to the global environment.

This allows testing of code that accesses superglobals like $_GET and $_POST and outputs using echo and headers().

Use withGlobalEnvironment(true) for both request and response object. The Codeception module will make sure output buffering starts and everything is restored after each test.

Error handler

The container may also contain a Jasny Error Handler. If a fatal error is caught by the error handler, the output is typically a nice message intended for the end user. It doesn't contain any information about the error itself.

If the container has a Jasny\ErrorHandlerInterface object, it will output the error as debug information on a failed test. To see the error use the --debug flag when running composer run.

API


All versions of codeception-module with dependencies

PHP Build Version
Package Version
Requires php Version >=7.2.0
codeception/codeception Version ^4.0
codeception/lib-innerbrowser Version ^1.2
jasny/http-message Version ^1.3
jasny/router Version ^1.1
psr/container Version ^1.0
symfony/http-client Version ^5.0
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 jasny/codeception-module contains the following files

Loading the files please wait ....