Skip to content

test(plugins): add malformed-output coverage for domain-finder parser #2098

Description

@utksh1

Summary

Add focused regression coverage for malformed, blank, and noisy output handled by plugins/domain-finder/parser.py.

Scope

  • Add or extend a focused backend parser test for this plugin.
  • Exercise blank input, whitespace-only input, malformed records, and unrelated noise.
  • Keep production parser behavior unchanged unless the test exposes a reproducible defect.

Acceptance criteria

  • The parser does not raise for blank, whitespace-only, or malformed output.
  • Valid records surrounding noisy lines still produce the expected findings.
  • Assertions verify a stable, safe result shape for empty output.
  • The targeted backend test passes.

Verification

Run the focused pytest file and the parser contract suite when applicable.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:pluginsScanner plugin metadata, schemas, or plugin runtime workgood first issueFriendly starter issue for first-time contributorslevel:beginner20 pts difficulty label for small beginner-friendly PRspriority:lowNice-to-have issue with low urgencytype:testingTesting work category bonus label

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions