Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
By Paul Simard on
Change record status:
Published (View all published change records)
Project:
Introduced in branch:
8.x
Issue links:
Description:
- Beginning in Drupal 8, automated tests for the core base system are located in the
core/modules/system/tests
directory. (These tests were previously located in the SimpleTest module directory). - This change affects required core components and any modules that use core system tests in their own testing schemes.
- Tests associated with the individual modules in core continue to reside in the module's root directory.
Drupal 7 example
Automated tests for the form system are located in
modules/simpletest/tests/form.test
Drupal 8 example
Automated tests for the form system are located in
core/modules/system/tests/form.test
The tests affected are:
- actions
- ajax
- batch
- bootstrap
- cache
- common
- error
- file
- filetransfer
- form
- http.php
- https.php
- image
- installer
- lock
- menu
- module
- pager
- password
- path
- queue
- registry
- schema
- session
- symfony
- system.base.css
- tablesort
- theme
- unicode
- update
- uuid
- xmlrpc
Impacts:
Module developers