Skip to content

runtime-adapter: move the tests out of their sources, and retire the layout baseline #1206

Closed

Description

Pull request: #1198, step 5 of 5, stacked on #1197.

Goal. Move the runtime adapter's tests out of its production files, and retire the allowlist's baseline.

Contents.

  • The inline tests modules of 10 runtime-adapter files move, unchanged, into their tests.rs files: 61 tests, with their helpers and imports. No production file of the repository holds tests any more.
  • The allowlist's second schema version keeps only the seams, which allow 29 test hooks in 11 files. Test code in a production file, other than those hooks, is always an error, and --tighten only lowers the seams. check_test_changes.py still reads the first version, which older merge bases hold.
  • The Test layout documentation drops the baseline.

Done when: #1198 merges.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions