eclipse-platform / eclipse-platform/eclipse.platform

Add support to reciving open test events and translate them in calls to the API of the new JUnit View

Open
#2,212 0 comments 0 reactions 1 assignee Claimed by @laeubi View on GitHub
enhancement
Dominant language
Java
Stars
165
Forks
174
Avg merge
2d 8h
Merged PRs (30d)
22

Description

We have the new `org.eclipse.unittest.ui` unit test view that can display unit test results in a vendor agnostic way (e.g. not bound to JUnit specifically).

There is also a [Open Test Reporting](https://github.com/ota4j-team/open-test-reporting) API that also is vendor neutral, so this seems like a perfect fit.

To make integration of both things more convenient for the user we should do the following:

- create a new bundle `org.eclipse.unittest.ui.ota4j`
- create a bridge there that accepts a reader and read events according to the [core.xsd](https://github.com/ota4j-team/open-test-reporting/blob/main/schema/src/main/resources/org/opentest4j/reporting/schema/core-0.2.0.xsd) and [events.xsd](https://github.com/ota4j-team/open-test-reporting/blob/main/schema/src/main/resources/org/opentest4j/reporting/schema/events-0.2.0.xsd)
- translate them into calls of our API to update the view using a Stax Stream reader based approach to keep memory footprint low and to account for the stream based nature of these events.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.