8000 Tests: a settings routing matrix · Issue #46 · nixidae/nixidae · GitHub
[go: up one dir, main page]

Skip to content

Tests: a settings routing matrix #46

Closed
Closed

Description

@Lillecarl

Five scopes, two engines, two store backends. Each case asserts the value
through the door that owns it.

This is the test that would have caught #35. The suite is green at 2534
passed, and the defect still shipped, because every NixSettings(...) in
tests/ names global-scope fields only.

Scope

Extend tests/nanopynix/test_config_flow.py. That file already covers the
store scope and the construction-versus-live rule. The four other scopes are
the missing half.

Assert through the owning door:

  • global: session.settings()
  • store: store.uri(with_params=True)
  • eval: observable behaviour, for example a breach of max_call_depth
  • fetch: observable behaviour, for example tarball_ttl
  • flake: a flake operation

Depends on

#35, #36

Acceptance criteria

Each of the five scopes has a passing case on both engines and both backends.

Section 5, item 3.1 of CODE_IMPROVEMENT_PLAN.md.

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

    source: nanopynix

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      0