2017 © Pedro Peláez
 

library aerospike-module

Aerospike Module for Codeception. Integrates Aerospike into Codeception tests.

image

codeception/aerospike-module

Aerospike Module for Codeception. Integrates Aerospike into Codeception tests.

  • Monday, September 25, 2017
  • by davert
  • Repository
  • 11 Watchers
  • 2 Stars
  • 14,667 Installations
  • PHP
  • 2 Dependents
  • 0 Suggesters
  • 2 Forks
  • 0 Open issues
  • 13 Versions
  • 1 % Grown

The README.md

Aerospike Module for Codeception

Integrates Aerospike into Codeception tests., (*1)

Get Started

Requirements

To use this module on your machine, you need at least:, (*2)

Installation

Create the composer.json file as follows:, (*3)

{
    "require-dev": {
        "codeception/codeception": "^2.2",
        "codeception/aerospike-module": "^1.0"
    }
}

Then install dependencies:, (*4)

$ php composer.phar install

Example (unit.suite.yml)

modules:
    - Aerospike:
         addr: '127.0.0.1' # Aerospike host to connect
         port: 3000        # default Aerospike port
         set: 'cache'      # the Aerospike set to store data
         namespace: 'test' # the Aerospike namespace to store data
         reconnect: false  # whether the module should reconnect to the Aerospike before each test
         prefix: 'prefix_' # the key prefix

Then regenerate base class for unit suite, (*5)

$ vendor/bin/codecept build

Usage

Grabs value from Aerospike by key:, (*6)

$users_count = $I->grabValueFromAerospike('users_count');

Checks item in Aerospike exists and the same as expected:, (*7)

$I->seeInAerospike('key');
$I->seeInAerospike('key', 'value');

Checks item in Aerospike does not exist or is the same as expected:, (*8)

$I->dontSeeInAerospike('key');
$I->dontSeeInAerospike('key', 'value');

Inserts data into Aerospike database:, (*9)

$I->haveInAerospike('users', ['name' => 'miles', 'email' => 'miles@davis.com']);

Changelog

Changelog, (*10)

License

Aerospike Module is open-sourced software licensed under the [MIT][4] License., (*11)

© 2015-2022 Codeception Team and contributors, (*12)

The Versions

25/09 2017

dev-master

9999999-dev https://github.com/Codeception/Aerospike-module/releases

Aerospike Module for Codeception. Integrates Aerospike into Codeception tests.

  Sources   Download

MIT

The Requires

 

testing nosql aerospike codeception

25/09 2017

v1.0.2

1.0.2.0 https://github.com/Codeception/Aerospike-module/releases

Aerospike Module for Codeception. Integrates Aerospike into Codeception tests.

  Sources   Download

MIT

The Requires

 

testing nosql aerospike codeception

25/09 2017

dev-dev

dev-dev https://github.com/Codeception/Aerospike-module/releases

Aerospike Module for Codeception. Integrates Aerospike into Codeception tests.

  Sources   Download

MIT

The Requires

 

testing nosql aerospike codeception

11/12 2016

v1.0.1

1.0.1.0 https://github.com/Codeception/Aerospike-module/releases

Aerospike Module for Codeception. Integrates Aerospike into Codeception tests.

  Sources   Download

MIT

The Requires

 

testing nosql aerospike codeception

24/08 2016

v1.0.0

1.0.0.0 https://github.com/Codeception/Aerospike-module/releases

Aerospike Module for Codeception. Integrates Aerospike into Codeception tests.

  Sources   Download

MIT

The Requires

 

testing nosql aerospike codeception

29/05 2016

v0.1.6

0.1.6.0 https://github.com/Codeception/Aerospike-module/releases

Aerospike Module for Codeception. Integrates Aerospike into Codeception tests.

  Sources   Download

MIT

The Requires

 

testing nosql aerospike codeception

28/05 2016

v0.1.5

0.1.5.0 https://github.com/Codeception/Aerospike-module/releases

Aerospike Module for Codeception. Integrates Aerospike into Codeception tests.

  Sources   Download

MIT

The Requires

 

testing nosql aerospike codeception

09/12 2015

v0.1.4

0.1.4.0 https://github.com/Codeception/Aerospike-module/releases

Aerospike Module for Codeception. Integrates Aerospike into Codeception tests.

  Sources   Download

MIT

The Requires

 

testing nosql aerospike codeception

09/12 2015

v0.1.3

0.1.3.0 https://github.com/Codeception/Aerospike-module/releases

Aerospike Module for Codeception. Integrates Aerospike into Codeception tests.

  Sources   Download

MIT

The Requires

 

testing nosql aerospike codeception

08/12 2015

v0.1.2

0.1.2.0 https://github.com/Codeception/Aerospike-module/releases

Aerospike Module for Codeception. Integrates Aerospike into Codeception tests.

  Sources   Download

MIT

The Requires

 

testing nosql aerospike codeception

08/12 2015

v0.1.1

0.1.1.0 https://github.com/Codeception/Aerospike-module/releases

Aerospike Module for Codeception. Integrates Aerospike into Codeception tests.

  Sources   Download

MIT

The Requires

 

testing nosql aerospike codeception

08/12 2015

v0.1.0

0.1.0.0 https://github.com/Codeception/Aerospike-module/releases

Aerospike Module for Codeception. Integrates Aerospike into Codeception tests.

  Sources   Download

MIT

The Requires

 

testing nosql aerospike codeception

06/12 2015

v0.0.1

0.0.1.0

Aerospike Module for Codeception

  Sources   Download

MIT

The Requires

  • ext-aerospike *

 

by Sergei Iakovlev