Skip to content

Empty-test-universe fallback reason has a blank name for adapter repositories #216

Closed

Description

@FredApps

graph.ts sets testUniverse.blindSpot for a Go, Maven, Python or Rust repository with no test files, even when package.json declares no test framework. impact.ts builds the TEST_UNIVERSE_EMPTY reason from declaredFrameworks alone, so the reason has an empty name:

Repository declares  but no test files were discovered; full validation required

Repro: a pom.xml and src/main/java/example/Tool.java with no tests. Change Tool.java.

Expected: the reason names what was declared, for example Repository declares Maven but no test files were discovered; full validation required.

Actual: the name is empty, as above. The fallback itself is correct.

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions