PHPackages                             qadept/codeception-qaapi - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Testing &amp; Quality](/categories/testing)
4. /
5. qadept/codeception-qaapi

ActiveLibrary[Testing &amp; Quality](/categories/testing)

qadept/codeception-qaapi
========================

Codeceprion module to work with QA API

1.0.0(9y ago)1541MITPHP

Since Aug 31Pushed 9y ago1 watchersCompare

[ Source](https://github.com/apls777/codeception-qaapi)[ Packagist](https://packagist.org/packages/qadept/codeception-qaapi)[ RSS](/packages/qadept-codeception-qaapi/feed)WikiDiscussions master Synced 4w ago

READMEChangelog (1)Dependencies (1)Versions (2)Used By (0)

QaApi module for Codeception
============================

[](#qaapi-module-for-codeception)

What is QaApi
-------------

[](#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
--------------------

[](#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:

- tester will interrupt a developer every time when he needs to change something in database
- tester can't write automated tests for such cases (unless he has a knowledge of the project source code and has an access to it)

QaApi solves the both problems
------------------------------

[](#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:

- PHP client for API will be automatically generated to use it for automated tests
- if your company use [QAdept](http://qadept.com) service, tester can use it manually from **Operations** tab

What benefits do you have using this approach?
----------------------------------------------

[](#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
--------------

[](#how-to-install)

1. Install QaApi package:

    ```
    composer require qadept/codeception-qaapi
    ```
2. Add QaApi module to a suite file. Its content should look like:

    ```
    class_name: FunctionalTester
    modules:
        enabled:
            - \WebShop\Helper\Functional
            - WebDriver:
                url: 'http://myproject.local'
                browser: phantomjs
                window_size: 1280x960
            - Asserts
            - \WebShop\Helper\QaApi:
                url: 'http://myproject.local/qaapi'
                api_key: my_secret_key
    ```

    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](http://swagger.io/specification/) and will be used for automatical generation of PHP API Client.
4. Generate PHP API Client and helper classes:

    ```
    ./vendor/bin/codecept qaapi:generate -c projects/WebShop
    ```

    ```
    ./vendor/bin/codecept build -c projects/WebShop
    ```

###  Health Score

28

—

LowBetter than 52% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

3591d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1495849?v=4)[apls](/maintainers/apls)[@apls](https://github.com/apls)

---

Top Contributors

[![apls777](https://avatars.githubusercontent.com/u/8392688?v=4)](https://github.com/apls777 "apls777 (5 commits)")

### Embed Badge

![Health badge](/badges/qadept-codeception-qaapi/health.svg)

```
[![Health](https://phpackages.com/badges/qadept-codeception-qaapi/health.svg)](https://phpackages.com/packages/qadept-codeception-qaapi)
```

###  Alternatives

[magento/magento2-functional-testing-framework

Magento2 Functional Testing Framework

15312.0M36](/packages/magento-magento2-functional-testing-framework)[lucatume/wp-browser

A set of Codeception modules to test WordPress projects.

6424.1M178](/packages/lucatume-wp-browser)[codeception/module-asserts

Codeception module containing various assertions

8654.0M1.5k](/packages/codeception-module-asserts)[codeception/lib-innerbrowser

Parent library for all Codeception framework modules and PhpBrowser

8743.5M88](/packages/codeception-lib-innerbrowser)[allure-framework/allure-codeception

Allure Codeception integration

5212.7M9](/packages/allure-framework-allure-codeception)[codeception/module-symfony

Codeception module for Symfony framework

9610.1M141](/packages/codeception-module-symfony)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
