Skip to content

Compiler warning overwrites failing test results in test results pane #3386

Closed
@rvermeulen

Description

@rvermeulen

Describe the bug

When you execute a QL test from the test explorer, and the compilation of the tested query has warnings, such as unused predicates or deprecated elements, then the diff view of a failed test is not visible.

Version
The CodeQL and VS Code version in which the bug occurs.

CodeQL extension version: 1.12.2
CodeQL CLI version: 2.14.6
Platform: darwin x64

To reproduce

  1. Create a failing QL test of a query with an unused predicate or deprecated module.
  2. Execute the test

Expected behavior

The test explorer shows the diff of the expected and actual output, in addition to the compiler warnings.

Metadata

Metadata

Assignees

No one assigned

    Labels

    VSCodebugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions