Skip to content

Status bar displays "Failed to run tests" even though tests were run successfully #99

Description

@bobderrico

When I click "Run Test," the status bar displays "Running tests..." and the changes to "Failed to run tests" after the testing has finished running.

However, the tests to did run successfully. I see the correct reporting on test cases in the code and can click the icon to see test results.

When I look at the test output, I see several lines start with Error occurred. This all prefix expected logging output during the test. This output is generated by calls to an SLF4J Logger method. For example:

Error occured: [main] INFO com.some.packages.ClassName - Some Message

(also worth noting that "occurred" is spelled incorrectly in the message).

I suspect the plugin is seeing these log messages and assuming there was a failure with running the test, causing "Failed to run tests" to be incorrectly reported.

Metadata

Metadata

Assignees

Labels

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions