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.
1. Introduction

Unit testing is a process by which individual components (units) of your software are tested. The objective is to isolate a section of code and validate its correctness - ensure that it behaves as expected for the given inputs.

There are multiple levels of testing typically used in software development...
You do not have permission to view the full content of this resource. Log in or register now.
First release
Last update
0.00 star(s) 0 ratings

More resources from Sim

  • Geoblock Registration
    Geoblock Registration
    Ban or moderate users from specific countries when registering using Maxmind's GeoLite2 Database
  • SparkPost Mail Transport
    SparkPost Mail Transport
    Swiftmailer Transport implementation for SparkPost
  • Time Zone Debug
    Time Zone Debug
    Check your timezone settings for debugging time display issues on the forum.
  • CLI Job Runner
    CLI Job Runner
    Disables the browser triggered job runner and implements a CLI triggered job runner for Unix cron
  • Known Bots
    Known Bots
    Adds additional definitions for bot detection in sessions

Latest updates

  1. v1.2.0 updates

    Feature: added new functionality to Interacts with Container mockService Feature: Interacts...
  2. v1.1.0 update

    Feature: added new functionality to Interacts with Extension isolateAddon Feature: Interacts...