Rise
The Vieneo Province
Loading...
Searching...
No Matches
Test catalog validation

Checks catalog discovery, readable source extraction, escaping and explicit fixture associations.

Subsystem: Diagnostics, profiling, packaging and runtime integrity
Fixture/harness: testcatalogtests
Setup: Python unittest class CatalogTests; uses in-memory source examples and copies of the reviewed manifest. No game tests are executed.

Build/entry point: python Tests/TestCatalogTests.py

TestCatalogTests.py

Source: Tests/TestCatalogTests.py

raw shader and comments are not cases

Fixture: Test catalog validation
Case symbol: CatalogTests.test_raw_shader_and_comments_are_not_cases
Source: Tests/TestCatalogTests.py:14

Test
Ignore apparent test functions embedded in shaders, comments and strings.
Source check messages (including original failure wording)

  • Ignore apparent test functions embedded in shaders, comments and strings.

nested expression strings are not descriptions

Fixture: Test catalog validation
Case symbol: CatalogTests.test_nested_expression_strings_are_not_descriptions
Source: Tests/TestCatalogTests.py:24

Test
Keep assertion messages separate from strings inside the tested expression.
Source check messages (including original failure wording)

  • Keep assertion messages separate from strings inside the tested expression.

function try and lowercase checks

Fixture: Test catalog validation
Case symbol: CatalogTests.test_function_try_and_lowercase_checks
Source: Tests/TestCatalogTests.py:29

Test
Include function-try entry points and lowercase local assertion helpers.
Source check messages (including original failure wording)

  • Include function-try entry points and lowercase local assertion helpers.

dispatchers are not extra cases

Fixture: Test catalog validation
Case symbol: CatalogTests.test_dispatchers_are_not_extra_cases
Source: Tests/TestCatalogTests.py:34

Test
Do not count assertion-free dispatchers as additional verification cases.
Source check messages (including original failure wording)

  • Do not count assertion-free dispatchers as additional verification cases.

unlabelled entry assertions are retained

Fixture: Test catalog validation
Case symbol: CatalogTests.test_unlabelled_entry_assertions_are_retained
Source: Tests/TestCatalogTests.py:38

Test
Retain an entry point that uses unlabeled C++ assertions for editorial description.
Source check messages (including original failure wording)

  • Retain an entry point that uses unlabeled C++ assertions for editorial description.

python classes disambiguate method names

Fixture: Test catalog validation
Case symbol: CatalogTests.test_python_classes_disambiguate_method_names
Source: Tests/TestCatalogTests.py:42

Test
Associate identically named unittest methods with their actual fixture classes.
Source check messages (including original failure wording)

  • Associate identically named unittest methods with their actual fixture classes.

documentation metacharacters are escaped

Fixture: Test catalog validation
Case symbol: CatalogTests.test_documentation_metacharacters_are_escaped
Source: Tests/TestCatalogTests.py:47

Test
Preserves readable slashes and underscores while preventing source messages from introducing HTML or Doxygen commands or ending documentation comments.
Source check messages (including original failure wording)

  • Preserve readable punctuation while escaping HTML and Doxygen syntax.

fixture includes are explicit

Fixture: Test catalog validation
Case symbol: CatalogTests.test_fixture_includes_are_explicit
Source: Tests/TestCatalogTests.py:56

Test
Resolve shared case headers through their real entry-point include chain.
Source check messages (including original failure wording)

  • Resolve shared case headers through their real entry-point include chain.

unregistered and removed cases are rejected

Fixture: Test catalog validation
Case symbol: CatalogTests.test_unregistered_and_removed_cases_are_rejected
Source: Tests/TestCatalogTests.py:66

Test
Reject case additions/removals until the reviewed manifest is updated.
Source check messages (including original failure wording)

  • Reject case additions/removals until the reviewed manifest is updated.

incorrect fixture association is rejected

Fixture: Test catalog validation
Case symbol: CatalogTests.test_incorrect_fixture_association_is_rejected
Source: Tests/TestCatalogTests.py:76

Test
Reject a real test source assigned to an unrelated fixture.
Source check messages (including original failure wording)

  • Reject a real test source assigned to an unrelated fixture.

verification helpers without test suffix are cataloged

Fixture: Test catalog validation
Case symbol: CatalogTests.test_verification_helpers_without_test_suffix_are_cataloged
Source: Tests/TestCatalogTests.py:62

Test
Include assertion-bearing fixture helpers even without Tests in their filename.
Source check messages (including original failure wording)

  • Include assertion-bearing fixture helpers even without Tests in their filename.