Azure / azure-sdk-for-java

This repository is for active development of the Azure SDK for Java. For consumers of the SDK we recommend visiting our public developer docs at https://docs.microsoft.com/java/azure/ or our versioned developer docs at https://azure.github.io/azure-sdk-for-java.
MIT License
2.35k stars 2k forks source link

Improve test results in Azure Dev Ops #41720

Open billwert opened 2 months ago

billwert commented 2 months ago

A small pet peeve of mine is that the name of a test gets heavily truncated when you're looking at results:

Image

You could imagine lots of tests have a method like that, or something more generic. (canSerialize is another one I find myself writing a lot.)

It'd be nice if we could get the type name into this somehow so you can have an idea from the failure list.

(I did just learn about the dropdown that swaps to "test file" instead of "test run" and that's nicer:

Image

but I would still say we can maybe do better here, particularly as the default is "test run")

alzimmermsft commented 2 months ago

I believe this view is based on the JUnit test reporting file and may need to be a code / configuration change there to have each test ran include the test class name.