Download the PHP package fkupper/private-sniffer-module without Composer
On this page you can find all versions of the php package fkupper/private-sniffer-module. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download fkupper/private-sniffer-module
More information about fkupper/private-sniffer-module
Files in fkupper/private-sniffer-module
Download fkupper/private-sniffer-module
More information about fkupper/private-sniffer-module
Files in fkupper/private-sniffer-module
Vendor fkupper
Package private-sniffer-module
Short Description Simple module that enables sniffing into private defined elements of an object while running unit tests with Codeception.
License MIT
Package private-sniffer-module
Short Description Simple module that enables sniffing into private defined elements of an object while running unit tests with Codeception.
License MIT
Please rate this library. Is it a good library?
Informations about the package private-sniffer-module
Private Sniffer
Simple Codeception module to check private elements of objects.
Installation
Can be installed using composer:
Usage
Simple include the module on your unit suite config YML file:
On your unit tests you can now inspect and test private attributes and methods:
Is this a solution to test bad/not testable code?
Of course not. This is meant to be used when critical and sentive part of your code must be tested and is not possible for any reason.
Best practice still is to develop with unit testing in mind and refactor over time whatever you have that cannot be tested properly.
All versions of private-sniffer-module with dependencies
PHP Build Version
Package Version
The package fkupper/private-sniffer-module contains the following files
Loading the files please wait ....