Download the PHP package tecnickcom/tc-lib-testrest without Composer

On this page you can find all versions of the php package tecnickcom/tc-lib-testrest. 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 tc-lib-testrest

tc-lib-testrest

PHP library to test end-to-end RESTful API services using Gherkin language (Behat)

Latest Stable Version Master Build Status Master Coverage Status License Total Downloads

Develop Branch Develop Build Status Develop Coverage Status

Donate via PayPal Please consider supporting this project by making a donation via PayPal

Description

PHP library to test end-to-end RESTful API services using Gherkin language (Behat)

Installation

This project requires PHP 5.4.0+ to use the PHP built-in web server.

Or add to an existing project with:

Development - getting started

First, you need to install all dependencies (you'll need composer):

The following command will download all the composer dependencies required for development and testing:

Running Tests

The internal unit tests includes a database testing, so you need to install MySQL and SQLite with PDO drivers. You also need to create the following MySQL database with the right privileges:

You also need to install APC and memcached to test all features.

To execute all the tests you can now run make qa_all.

Please issue the command make help to see all available options and execute individual tests.

Coding standards

This project follows the PSR2 coding standard. To see any errors in your code, you can use the make phpcs command. We also use a tool to detect any code smells. To run it, use make phpmd.

Before submitting a Pull Request, please execute the make qa_all to be sure that no errors where introduced. Additionally, please check the target/coverage/index.html report to be sure that every line of code is covered by a unit test. If you add any new gherkin language feature please also add an example in test/features.

Developer(s) Contact


All versions of tc-lib-testrest with dependencies

PHP Build Version
Package Version
Requires php Version >=5.4
behat/behat Version ^2.5.5
guzzle/guzzle Version ^3.9.3
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 tecnickcom/tc-lib-testrest contains the following files

Loading the files please wait ....