The-DevOps-Daily/pg-wire-mock

Add Comprehensive Test Suite

Open

#65 创建于 2025年9月26日

在 GitHub 查看
 (0 评论) (0 反应) (0 负责人)JavaScript (15 fork)github user discovery
hacktoberfest

仓库指标

Star
 (26 star)
PR 合并指标
 (PR 指标待抓取)

描述

Expand the test suite to cover more of the codebase and protocol implementation.

Description: Current test coverage is limited. Adding comprehensive tests will help ensure the mock server behaves correctly.

Tasks:

  • Add unit tests for all protocol message builders
  • Add unit tests for all protocol message processors
  • Add integration tests for full message flows
  • Add connection lifecycle tests
  • Add edge case and error handling tests
  • Set up CI to run tests and report coverage

Related files:

  • tests/ directory
  • jest.config.js

贡献者指南