Tecla is a very simple PHPUnit test helper tool. It provides a workaround for unnecessarily registered classes of disabled/uninstalled extensions what happens if you are running PHPUnit tests (see #2006476: Strengthen tests by not autoregistering non-test namespaces of disabled modules.).

The workaround is pretty simple: it is driven by a service provider which removes the appropriate PSR4 mappings from Drupal's class loader. The solution uses reflectors, so it has some performance impact, but the benefit is a more realistic behavior during testing.

Supporting organizations: 
Founding, initial development and maintenance
Ongoing maintenance

Project information

  • caution Minimally maintained
    Maintainers monitor issues, but fast responses are not guaranteed.
  • caution Maintenance fixes only
    Considered feature-complete by its maintainers.
  • Project categories: Developer tools
  • Ecosystem: PHPUnit
  • Created by huzooka on , updated
  • shieldStable releases for this project are covered by the security advisory policy.
    Look for the shield icon below.

Releases