Testomatio - Test Management for Codeception
Connects to memcached using either Memcache or Memcached extension.
Performs a cleanup by flushing all values after each test run.
host
(string
, default 'localhost'
) - The memcached hostport
(int
, default 11211
) - The memcached portunit.suite.yml
)Be sure you don’t use the production server to connect.
return void
Flushes all Memcached data.
param string
$keyparam mixed
$valuereturn void
Checks item in Memcached doesn’t exist or is the same as expected.
Examples:
param string
$keyreturn mixed
Grabs value from memcached by key.
Example:
param string
$keyparam mixed
$valueparam int
$expirationreturn void
Stores an item $value
with $key
on the Memcached server.
param string
$keyparam mixed
$valuereturn void
Checks item in Memcached exists and the same as expected.
Examples: