2017 © Pedro Peláez
 

library test-helper

Helper package for testing

image

aivus/test-helper

Helper package for testing

  • Monday, June 15, 2015
  • by aivus
  • Repository
  • 1 Watchers
  • 0 Stars
  • 69 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

Test Helper

Build Status Coverage Status Latest Stable Version Total Downloads Latest Unstable Version, (*1)

This package provide simple helpers for testing., (*2)

API

TestHelper::getPropertyValue($classOrObject, $propertyName)

This method allows to get property value of class (if property is static) or object (include private/protected), (*3)

TestHelper::setPropertyValue($classOrObject, $propertyName, $propertyValue)

This method allows to set value of class (if property is static) or object property, (*4)

TestHelper::getMethod($className, $methodName)

This method allows to get class method (include private/protected), (*5)

getProperty($classNameOrObject, $propertyName)

This method allows to get class property (include private/protected), (*6)

invokeMethod($classNameOrObject, $methodName, [$parameters])

This method provide ability to call private/protected methods in the object, (*7)

The Versions

15/06 2015

dev-master

9999999-dev

Helper package for testing

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

The Development Requires

by Ilya Antipenko

testing helper unit

15/06 2015

v0.1

0.1.0.0

Helper package for testing

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

The Development Requires

by Ilya Antipenko

testing helper unit