flanksource / flanksource-ui

https://flanksource-ui.vercel.app
Other
9 stars 22 forks source link

JUnit Viewer #71

Open moshloop opened 2 years ago

moshloop commented 2 years ago

Create a new JUnit Component that renders JUnit tests based on this JSON structure: https://gist.githubusercontent.com/moshloop/2d73dc157b20ca3dadd85f4122837607/raw/6eb357498d6a1d091852a0a9a7d4b544fd37e6d9/junit.json

Tests are rendered into a grid with Summary and Duration, and a group/tree like structure for classes and suites. e.g.

rerun-failed-test

Clicking on an individual test will then have a popup showing stdout/stderr/error etc..

DmitriiMelnikOnix commented 2 years ago

@moshloop do you have any more JSON examples with errors or other cases?