Improve the tests

Created on 29 July 2024, 5 months ago
Updated 30 August 2024, 4 months ago

The tests can be improved. For example:

  1. Tests should verify the APCu extension has been loaded and its functions are available
  2. Tests should verify the cache bins used for the tests are effectively handled by the DrupalApcCache class
  3. Tests should use DrupalTestCase::randomName() and DrupalTestCase::randomString() for the test data, when possible
  4. Tests should verify that other data written in the APCu storage from other modules are not changed from this module
  5. Tests should verify that data written in the APCu storage with a 0 TTL are still stored after X seconds
  6. Tests should not call an assertXYZ() method when a previous related call to another assertZYX() method failed
📌 Task
Status

Fixed

Version

1.0

Component

Tests

Created by

🇮🇹Italy apaderno Brescia, 🇮🇹

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024