2017 © Pedro Peláez
 

library phpunit-for-bitrix

Based on https://github.com/osotov/phpunit-for-bitrix. Base test class for unit tests inside 1C-Bitrix framework environment

image

dcodeteam/phpunit-for-bitrix

Based on https://github.com/osotov/phpunit-for-bitrix. Base test class for unit tests inside 1C-Bitrix framework environment

  • Monday, May 21, 2018
  • by dcode
  • Repository
  • 1 Watchers
  • 0 Stars
  • 19 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 2 Forks
  • 0 Open issues
  • 5 Versions
  • 58 % Grown

The README.md

phpunit-for-bitrix

Based on osotov/phpunit-for-bitrix., (*1)

Base test class for unit tests inside 1C-Bitrix framework environment, (*2)

note

This package requires latest versions of php (>= 5.5.9) and phpunit (>=4.7.0 <7.0.0), (*3)

It might work fine with latest versions (7+) but was tested only with phpunit ^6 (_6.5.8_)., (*4)

installation

To install package, run the command below and you will get the latest version, (*5)

composer require dcodeteam/phpunit-for-bitrix

Copy phpunit.xml.dist file from package to document root. Set up your tests directory inside tag. If you want to use another bootstrap file set it instead default inside bootstrap attribute., (*6)

usage

If you use _old phpunit_ (>5.0.0) extend Dcode\Bitrix\TestCase class in your test cases., (*7)

This class uses mock framework Mockery to ease mock and stub creation and it uses Faker to help you with creation of dummy data., (*8)

For new php unit (>=5.0.0) use \PHPUnit\Framework\TestCase., (*9)

The Versions

21/05 2018

dev-master

9999999-dev https://github.com/dcodeteam/phpunit-for-bitrix

Based on https://github.com/osotov/phpunit-for-bitrix. Base test class for unit tests inside 1C-Bitrix framework environment

  Sources   Download

MIT

The Requires

 

by Mikhail Osotov
by Alexander Lushnikov

phpunit bitrix

21/05 2018

v0.2.2

0.2.2.0 https://github.com/dcodeteam/phpunit-for-bitrix

Based on https://github.com/osotov/phpunit-for-bitrix. Base test class for unit tests inside 1C-Bitrix framework environment

  Sources   Download

MIT

The Requires

 

by Mikhail Osotov
by Alexander Lushnikov

phpunit bitrix

21/05 2018

v0.2.1

0.2.1.0 https://github.com/dcodeteam/phpunit-for-bitrix

Based on https://github.com/osotov/phpunit-for-bitrix. Base test class for unit tests inside 1C-Bitrix framework environment

  Sources   Download

MIT

The Requires

 

by Mikhail Osotov
by Alexander Lushnikov

phpunit bitrix

21/05 2018

v0.2.0

0.2.0.0 https://github.com/dcodeteam/phpunit-for-bitrix

Based on https://github.com/osotov/phpunit-for-bitrix. Base test class for unit tests inside 1C-Bitrix framework environment

  Sources   Download

MIT

The Requires

 

by Mikhail Osotov
by Alexander Lushnikov

phpunit bitrix

19/07 2015

0.1.0

0.1.0.0 https://github.com/osotov/phpunit-for-bitrix

Base test class for unit tests inside 1C-Bitrix framework environment

  Sources   Download

MIT

The Requires

 

by Mikhail Osotov

phpunit bitrix