Merge pull request #17813 from JKingsnorth/patch-15
[civicrm-core.git] / Civi / Test / TransactionalInterface.php
1 <?php
2
3 namespace Civi\Test;
4
5 /**
6 * Interface HeadlessInterface
7 * @package Civi\Test
8 *
9 * Mark a test with TransactionalInterface to instruct CiviTestListener to wrap
10 * each test in a transaction (and rollback).
11 *
12 * Note: At time of writing, CiviTestListener only supports using TransactionalInterface if
13 * the test is in-process and runs with CIVICRM_UF==UnitTests.
14 *
15 * For end-to-end testing, it is expected that the CMS will not participate in the transaction,
16 * so the transaction mechanism will not work.
17 *
18 * @see HeadlessInterface
19 */
20 interface TransactionalInterface {
21
22 }