Download the PHP package qadept/codeception-qaapi without Composer

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

QaApi module for Codeception

What is QaApi

QaApi is an API for a QA department. This API can get or change an internal state of a system during manual or automated testing.

Example of Test Case

You created a new feature for your webshop. It sends a reminder to the customer email in 1 day if he gave up his cart.

How does tester have to test this case? Right, he has to create a cart and wait 1 day.

But if we have no that time, tester will go to developer and ask him to change a creation time of the cart in database back on 23 hours 55 minutes. Then the feature will be tested in 5 minutes, and we can release it.

At this time we solved our problem, but:

QaApi solves the both problems

Developer just needs to write one API method which can change a creation time of a cart. Then tester can use it for manual and automated testing:

What benefits do you have using this approach?

  1. Testing of difficult test cases is much easier.
  2. It helps testers with manual and automated testing.
  3. It increases productivity by splitting up testers' and developers' work.
  4. Testers don't need to know anything about the project source code.
  5. It allows company to don't share the project source code with testers.

How to install

  1. Install QaApi package:

  2. Add QaApi module to a suite file. Its content should look like:

    Here "url" is a base URL for API, "api_key" is a key for authorization.

  3. Create a qaapi.json file in the directory with tests (the same directory where you have codeception.yml file). This file is using Swagger Specification and will be used for automatical generation of PHP API Client.

  4. Generate PHP API Client and helper classes:

All versions of codeception-qaapi with dependencies

PHP Build Version
Package Version
Requires codeception/codeception Version >=2.2
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 qadept/codeception-qaapi contains the following files

Loading the files please wait ....