for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Basis;
class Tester extends Application
{
public function __construct($root = null)
if (!$root) {
$root = getcwd();
}
parent::__construct($root);
$service = getenv('SERVICE_NAME') ?: basename($root);
$host = getenv('TARANTOOL_SERVICE_HOST') ?: '127.0.0.1';
$port = getenv('TARANTOOL_SERVICE_PORT') ?: '3302';
$this->get(Config::class)['service'] = $service;
$this->get(Config::class)['tarantool'] = "tcp://$host:$port";
$this->dispatch('tarantool.migrate');