Skip to content

Suggestion: Queries for test code should show results despite test classifier #5551

Open
@Marcono1234

Description

@Marcono1234

LGTM classifies files and then omits files with a classifier from the results. This also includes test code.

However, often queries are explicitly written for test code, because broken test code can be nearly as problematic as broken production code. For the Java library there even exists an Assertions module covering some unit test classes and methods.
It would therefore be good if queries could, for example as part of their metadata, specify that their results should also be reported for code classified as test.

Metadata

Metadata

Assignees

No one assigned

    Labels

    acknowledgedGitHub staff acknowledges this issueenhancementNew feature or requestnot securityThis issue does not relate to a security query

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions