Skip to content

test: expand OOP API test coverage from 13% to >50% (Firebird\Statement, ResultSet, Blob focus) #244

@satwareAG-ironMike

Description

@satwareAG-ironMike

Problem

Only 31/236 tests (13.1%) use the new Firebird\* namespace classes. The v11.0 M3 migration is complete in C but barely tested in the OOP layer:

  • Firebird\Statement: only 1 test file (fbird_classes_004.phpt)
  • Firebird\ResultSet: 3 files total, limited scenarios
  • Firebird\Blob: minimal; blob_segfault_after_commit.phpt uses procedural-only

Acceptance Criteria

  • >50% of test files exercise at least one Firebird\* class method
  • Firebird\Statement: multi-row fetch, re-execute, free scenarios covered
  • Firebird\ResultSet: full fetch cycle, close on partial read
  • Firebird\Blob: OOP blob create/write/read/close + segfault-after-commit using OOP
  • Negative tests: call methods on closed/freed objects

Source

QA Audit 2026-04-09 - Finding T2 (Priority P3)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions