Auto-generated code based on our OpenAPI specification.
$ composer require qase/api
use GuzzleHttp\Client;
use Qase\Client\Api\RunsApi;
use Qase\Client\Configuration;
use Qase\Client\Model\RunCreate;
$config = Configuration::getDefaultConfiguration()
->setHost(getenv('QASE_API_BASE_URL'))
->setApiKey('Token', getenv('QASE_API_TOKEN'));
$runApi = new RunsApi($client, $config);
$run = $runApi->createRun(getenv('QASE_PROJECT_CODE'), new RunCreate([
'title' => sprintf('PHPUnit [%F]', microtime(true)),
'is_autotest' => true,
]));