Speed up ContentModerationStateTest

Created on 20 August 2024, 3 months ago
Updated 6 September 2024, 3 months ago

Problem/Motivation

We can speed this test up by around 2/3rds by not using data providers. It's currently the longest kernel test (in fact, two kernel tests due to the workspaces subclass) by far.

Steps to reproduce

On my local:

Before:

Time: 01:12.370, Memory: 6.00 MB

OK (53 tests, 1472 assertions)

After:

.................                                                 17 / 17 (100%)

Time: 00:25.718, Memory: 6.00 MB

OK (17 tests, 738 assertions)

Proposed resolution

Remaining tasks

User interface changes

Introduced terminology

API changes

Data model changes

Release notes snippet

πŸ“Œ Task
Status

Fixed

Version

10.3 ✨

Component
Content moderationΒ  β†’

Last updated about 23 hours ago

  • Maintained by
  • πŸ‡¦πŸ‡ΊAustralia @Sam152
Created by

πŸ‡¬πŸ‡§United Kingdom catch

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