By mcdruid on
Change record status:
Published (View all published change records)
Project:
Introduced in branch:
7.x
Introduced in version:
7.81
Description:
Drupal 7.81 brings some testing improvements in the form of some new options that can be passed to the run-tests.sh script.
These new options may be particularly noteworthy for anyone running D7 tests locally during development:
--fail-only When paired with --verbose, do not print the detailed messages
for passing tests.
--cache (Experimental) Cache result of setUp per installation profile.
This will create one cache entry per profile and is generally safe
to use.
To clear all cache entries use --clean.
--cache-modules
(Experimental) Cache result of setUp per installation profile and
installed modules. This will create one copy of the database
tables per module-combination and therefore this option should not
be used when running all tests. This is most useful for local
development of individual test cases. This option implies --cache.
To clear all cache entries use --clean.
Impacts:
Module developers