Skip to content

nvx-rs: move the host modules' tests out of their sources #1205

Closed

Description

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

Goal. Move the unit tests of the host modules, and the code that only those tests compile, out of the production files.

Contents.

  • The inline tests modules of 25 host files move, unchanged, into their tests.rs files.
  • The host's test-only modules become tests modules: host::test_support, host::template::test_support, the specification modules of host::cli::run and host::sandbox, host::process's reference_tests, and host::network::address::probe.
  • The test-only re-exports and helpers of the other host modules move into those modules' tests modules.
  • No host file remains in the allowlist's baseline, and host::network::address's 2 test hooks become seams.
  • The tests of 4 modules change module path, which nvx-rs: move the host modules' tests out of their sources #1197 lists.

Done when: #1197 merges.

Metadata

Metadata

Labels

No labels
No labels

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions