iqual/reusable-drupal-tests
Composer 安装命令:
composer require iqual/reusable-drupal-tests
包简介
A tiny framework for writing Drupal test classes in a decoupled way from the PHPUnit/Drupal framework so that they can be reused in different contexts.
README 文档
README
Introduction
This tiny framework is meant to allow Drupal test authors to "decouple" their Kernel test classes from the PHPUnit/Drupal test framework(s).
This framework came into existence in order to support the following idea:
- Write a Kernel test class following a loose coupling approach as far as the configuration and instantiation of the Drupal testing instance goes.
- Use the Kernel test class in the context of either a vanilla Drupal instance (classic Drupal testing approach) or against an already functioning Drupal instance (skipping the ::setUp() method).
Installation
- Install via Composer:
composer require iqual/reusable-drupal-tests --dev.
Updating existing Drupal tests into reusable Drupal tests
Using together with Drupal Test Traits
统计信息
- 总下载量: 74
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 2
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Unknown
- 更新时间: 2022-10-06