test_this_inside_a_mixin_is_qualified_by_the_mixin¶
Tests › tests/test_ts_mixins.py
What this test is for
Why it exists
this.m() inside a mixin is qualified by the mixin's class.
Given
sites = harvest_calls( lps.parse_tree("typescript", _MIXIN), _MIXIN, "ast", "ast_member", "binding" )qualifiers = {s[3] for s in sites if s[0] == "doFetch"}
When
- —
Then
- ✓ qualifiers equals {"ClientFiles.doFetch", "ClientUsers.doFetch"}
tests/test_ts_mixins.py:93 · its file's page
What it checks (1)
assert qualifiers == {"ClientFiles.doFetch", "ClientUsers.doFetch"}, qualifiersnot 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.
Also reaches 1 requirement
Its run touches their code; that is reach, not proof.
- REQ-DDB-PIPE-012 measured