Back to Intellij Community

TestFailedLine

jvm/jvm-analysis-impl/resources/inspectionDescriptions/TestFailedLine.html

2025.3-rc-2219 B
Original Source

Reports failed method calls or assertions in tests. It helps detect the failed line in code faster and start debugging it immediately.

Example:

@Test
  fun foo() {
    assertEquals(1, 0) // highlighted
  }