portrino/codeception-cleverreach-module

View on GitHub
README.md

Summary

Maintainability
Test Coverage
# Codeception Cleverreach Module
[![Build Status](https://travis-ci.org/portrino/codeception-cleverreach-module.svg?branch=master)](https://travis-ci.org/portrino/codeception-cleverreach-module) [![Code Climate](https://codeclimate.com/github/portrino/codeception-cleverreach-module/badges/gpa.svg)](https://codeclimate.com/github/portrino/codeception-cleverreach-module)
                                                                                                                                                                 [![Test Coverage](https://codeclimate.com/github/portrino/codeception-cleverreach-module/badges/coverage.svg)](https://codeclimate.com/github/portrino/codeception-cleverreach-module/coverage)
                                                                                                                                                                 [![Issue Count](https://codeclimate.com/github/portrino/codeception-cleverreach-module/badges/issue_count.svg)](https://codeclimate.com/github/portrino/codeception-cleverreach-module)
[![Latest Stable Version](https://poser.pugx.org/portrino/codeception-cleverreach-module/v/stable)](https://packagist.org/packages/portrino/codeception-cleverreach-module)
[![Total Downloads](https://poser.pugx.org/portrino/codeception-cleverreach-module/downloads)](https://packagist.org/packages/portrino/codeception-cleverreach-module)

This package provides cleverreach testing for codeception

# Installation
```bash
composer require --dev portrino/codeception-cleverreach-module
```
# Usage
You can use this module like other codeception modules. By adding 'CleverReach' to the enabled modules in your 
codeception suite configuration.

# Enable module and setup the configuration variables
The variables could be set in config file directly or via an environment variable: %API_KEY%
```bash
modules:
    enabled:
        - CleverReach:
            client_id: ADD_YOUR_CLIENT_ID_HERE
            login_name: ADD_YOUR_LOGIN_NAME_HERE
            password: ADD_YOUR_PASSWORD_HERE
```
# Update Codeception build

```bash
codecept build
```

# Implement the cept / cest

```bash
$I->seeUserIsSubscribedForNewsletter($email, $groupId);
```

## Authors

![](https://avatars0.githubusercontent.com/u/726519?s=40&v=4)

* **Leopold Engst** - *Initial work, Unit Tests* - [leen2104](https://github.com/leen2104)
* **André Wuttig** - *Concept* - [aWuttig](https://github.com/aWuttig)

See also the list of [contributors](https://github.com/portrino/codeception-cleverreach-module/graphs/contributors) who participated in this project.