Skip to content

Overview: Increasing core testing #315

@priethor

Description

@priethor

SCF needs robust test coverage not just for the usual reasons (catch regressions, validate complex flows, enable safe refactoring, etc) but also to help with the upstream backporting process.

Current coverage is limited, as we've only added tests as we added new features, and many core function files, form types, and JS components lack tests.

This issue aims to increase testing coverage in key areas of the codebase, not for the sake of coverage in a vacuum (coverage alone is not a metric of quality), but to ensure the quality of the project in its core functions.

Notes:

  • Some PHP testing will be limited to the current WorDBless environment
  • Testing is usually hard and costly to do, but with the advent of coding agents, this is a perfect use case to leverage these tools.
  • I'll keep PRs atomic; even if they only affect 1-2 files, they will be long, for documentation purposes.

Implementation Plan

PHP Core Functions

PHP API & Integration

JavaScript Unit Tests

E2E Test Expansion

Metadata

Metadata

Assignees

No one assigned

    Type

    No fields configured for Task.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions