Resource icon

Unit testing XenForo addons - tutorial

Additional requirements
Composer must be installed on your development server and you must have a basic understanding of how PHPUnit works.
Compatibilty

For XenForo v2.1 addons, you should use Unit Test Framework v1.x

For XenForo v2.2 addons, you should use Unit Test Framework v2.x

Upgrading

Unit Test Framework v2.1

The TestCase.php and CreatesApplication.php files have been updated in v2.1 and...
You do not have permission to view the full content of this resource. Log in or register now.
Author
Sim
Views
2,916
First release
Last update

Ratings

5.00 star(s) 1 ratings

More resources from Sim

Latest updates

  1. v2.1.0 release

    v2.1.0 of the Unit Test Framework has been released. Updates are via Composer. Note breaking...
  2. v2.0.0 release

    XenForo 2.2 implements Swiftmail 6, which changes some of the method/interface signatures - so...
  3. v1.2.1 updates

    bugfix: fixed typo in function name assertSimpleCacheEqual => assertSimpleCacheEquals bugfix...

Latest reviews

Thank you for developing and, of course, maintaining this addon! It's not a full solution but greatly helped us having unit tests in our custom addons!
Top Bottom