Dark Mode

Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Latest commit

History

History

test

Folders and files

NameName
Last commit message
Last commit date

parent directory

..

README.md

Test suites

General

Running just vendor/bin/phpunit will run both the unit and the compat test suites, which is expected behaviour.

unit

The unit test suite covers the library unit implementation. The unit tests can be executed by simply running (--colors is optional):

vendor/bin/phpunit --test-suite unit --colors

core

These are the unmodified core reflection .phpt tests that verify functionality of the core reflection API. They are provided only for information/comparison purposes and can be run simply like this:

vendor/bin/phpunit test/core

compat

These are adapted versions of the core reflection .phpt tests that have been modified to use Better Reflection instead of core reflection. The idea is that we are trying to maintain compatibility with core API. Ideally, these should pass (where they pass in core, at least).

vendor/bin/phpunit --test-suite compat test/compat