Skip to content

Add cross-platform boundary tests for the environment API #427

Closed

Description

@LunaStev

Summary

The new environment API needs a compact cross-platform regression set that defines its boundary behavior independently of individual platform providers.

Related issues

Scope

Add focused Wave corpus cases for environment lookup, presence checks, typed integer parsing, default values, invalid names, missing keys, empty values, destination capacity, and numeric boundaries. Reuse deterministic fixture variables supplied by the test runner instead of relying on a developer machine's ambient environment.

Acceptance criteria

  • Tests cover missing, empty, one-byte, and multi-byte values.
  • Tests distinguish “not found” from “destination too small”.
  • Tests cover valid and invalid signed i32/i64 values and both numeric boundaries.
  • Test metadata injects deterministic environment variables where required.
  • Cases run on every native CI platform whose environment provider is implemented.
  • Platform stubs are skipped or classified explicitly rather than silently counted as passing.
  • The suite is documented briefly next to the test cases.

Activity

  1. added
    good first issue
    needs testing
    cross-platform
    on Aug 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    cross-platformgood first issueneeds testing

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions