question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

JUnit or xUnit 2 Test Results

See original GitHub issue

Description

Are there any plans on adding JUnit or xUnit Reports to japa? This will allow us to display some statistics about each particular test that has passed or failed in certain CI/CD pipelines. Notably Azure Dev Ops Pipelines is one of them.

I noticed that in the main documentation you worded that the results were displayed with the “default” list reporter, so I am assuming that there is a way to provide an alternate reporter that will be able to generate out the results in the relevant format?

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:12

github_iconTop GitHub Comments

1reaction
zanechuacommented, Apr 25, 2021

@fareeda0

I probably removed it when I was clearing up repos. I’ve moved on from Adonis as it didn’t provide enough support for my CI/CD use cases.

I don’t have a copy of the code I updated but my colleague at the point of time wrote the initial bunch of it which you can find:

https://github.com/zhiichengg/japa/commit/edf0bd105f6520f02b96f2ee252caf9d20c689a5

Cheers.

0reactions
fareeda0commented, Apr 25, 2021

Apologies for resurrecting this 😅

Turns out I ran into the exact same use case. I think this would be a super useful feature to have.

@zanechua I tried the link you provided but it seems it’s no longer available.

If you still have the code, I’d be happy to pick this up.

Read more comments on GitHub >

github_iconTop Results From Across the Web

JUnit or xUnit 2 Test Results · Issue #11 · japa/core - GitHub
Are there any plans on adding JUnit or xUnit Reports to japa? This will allow us to display some statistics about each particular...
Read more >
junitparser – Pythonic JUnit/xUnit Result XML Parser ...
Parse or modify non-standard or customized JUnit/xUnit xml files, by monkey patching existing element definitions. Create JUnit/xUnit test results from scratch.
Read more >
Producing a xUnit test output similar to Junit output on gitlab CI
Producing a xUnit test output similar to Junit output on gitlab CI - Stack Overflow. Stack Overflow for Teams – Start collaborating and...
Read more >
PublishTestResults@2 - Publish Test Results v2 task
Specifies the format of the results files you want to publish. The following formats are supported: CTest, JUnit, NUnit 2, NUnit 3, Visual ......
Read more >
NUnit vs. XUnit vs. MSTest: Comparing Unit Testing ...
As far as NUnit vs. XUnit vs. MSTest is concerned, the biggest difference between xUnit and the other two test frameworks (NUnit and...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found