2017 © Pedro Peláez
 

project testmultibase

Test API for separate data on some databases

image

brainysoft/testmultibase

Test API for separate data on some databases

  • Friday, February 10, 2017
  • by viczel
  • Repository
  • 0 Watchers
  • 0 Stars
  • 6 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

Тест API

На первом этапе будем пихать туда пачками данные и смотреть, разбросались ли они по разным базам, (*1)

Установка

composer require --dev "codeception/codeception", (*2)

Установил переменную среды PHPBIN C:\Users\admin\php-5630\php.exe, (*3)

C:\Users\admin\data\testmultibase>vendor\codeception\codeception\codecept bootstrap, (*4)

Could not open input file: @bin_dir@\codecept, (*5)

Could not open input file: codecept, (*6)

Вместо мучений с этим добром сделал

php vendor\codeception\codeception\codecept bootstrap, (*7)

php vendor\codeception\codeception\codecept generate:test unit DataGenerator, (*8)

php vendor\codeception\codeception\codecept run unit DataGeneratorTest, (*9)

Проблема с https у guzzle

SSL certificate problem: unable to get local issuer certificate, (*10)

Download the latest cacert.pem from https://curl.haxx.se/ca/cacert.pem curl.cainfo=/path/to/downloaded/cacert.pem, (*11)

Новый тест для обращений к API

php vendor\codeception\codeception\codecept generate:test unit LeadCreator, (*12)

php vendor\codeception\codeception\codecept run unit LeadCreatorTest, (*13)

Разные пути

/bs-core/utils/version-info, (*14)

/bs-core/dicts/custom/config, (*15)

После запуска лида в проверку получил

на команду php getDictionary.php --customer=b2 --path=/bs-core/main/leads/19, (*16)

[currentStatus] => TECH_FAULT
[currentBusinessStatus] => FAILED

The Versions

10/02 2017

dev-master

9999999-dev

Test API for separate data on some databases

  Sources   Download

MIT

The Requires

 

The Development Requires

03/02 2017

v0.0.1

0.0.1.0

Test API for separate data on some databases

  Sources   Download

MIT

The Requires

 

The Development Requires