test_the_tier_names_partition_into_stated_and_accumulating

Tests › tests/test_tiers.py

passed Passed in the packaged run.

What this test is for

Why it exists

Nothing may be in both groups, and nothing may be in neither.

Verifies REQ-DDB-CONFIG-006

Given

  1. —
→

When

  1. —
→

Then

  1. ✓ set(STATED_TIERS) | set(ACCUMULATING_TIERS) equals set(TIER_ORDER)
  2. ✓ set(STATED_TIERS) & set(ACCUMULATING_TIERS) is false
  3. ✓ set(ACCUMULATING_TIERS) equals {TIER_TARGET_FACT, TIER_ECOSYSTEM}

tests/test_tiers.py:148 · its file's page

What it checks (3)

  1. assert set(STATED_TIERS) | set(ACCUMULATING_TIERS) == set(TIER_ORDER) not attributed
  2. assert not set(STATED_TIERS) & set(ACCUMULATING_TIERS) not attributed
  3. assert set(ACCUMULATING_TIERS) == {TIER_TARGET_FACT, TIER_ECOSYSTEM} not attributed

What it reaches

Each row runs from this test, through the calls it makes, to the code a requirement names. If that code breaks, the test's checks are what should catch it. Reaching is not proving: a check only proves what it observes. No mutation records were given, so these rows say what the test REACHES.

Requirements it verifies (1)

requirementlinked byimplementers exercised
REQ-DDB-CONFIG-006catalogunknown