Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add runtime information to GH message #16

Merged
merged 1 commit into from
Jul 7, 2024
Merged

Add runtime information to GH message #16

merged 1 commit into from
Jul 7, 2024

Conversation

kzu
Copy link
Member

@kzu kzu commented Jul 7, 2024

This allows to distinguish otherwise apparently duplicated messages when running tests across multiple OSes

image

@kzu kzu added the enhancement New feature or request label Jul 7, 2024
@devlooped-bot
Copy link
Member

👉 Run 8 tests in ~ 6 seconds (.NET 8.0.6 on Ubuntu 22.04.4 LTS):

5 passed 2 failed 1 skipped

🧪 Details
❌ Demo.Tests.Fails_With_Complex_StackTrace
   at Demo.Tests.Unexpected() in /_/src/Demo/Tests.cs:line 43
   at Demo.Tests.Run() in /_/src/Demo/Tests.cs:line 41
   at Demo.Tests.<Fails_With_Complex_StackTrace>b__6_0() in /_/src/Demo/Tests.cs:line 36
   at Demo.Tests.Fails_With_Complex_StackTrace() in /_/src/Demo/Tests.cs:line 38
❌ Demo.Tests.Fails_With_Output
   at Demo.Tests.Fails_With_Output() in /_/src/Demo/Tests.cs:line 30

> It was going so well...
> Yet you never know
> Which is why you sprinkle all these WriteLines 👀

✅ Demo.Tests.Parameterized(culture: "de")
✅ Demo.Tests.Parameterized(culture: "en")
✅ Demo.Tests.Parameterized(culture: "es")
✅ Demo.Tests.Parameterized(culture: "fr")
❔ Demo.Tests.Skipped_Test_Does_Not_Run => Shouldn't run for now :)

✅ Demo.Tests.Test_With_Output

> Hello, world from xunit ITestOutputHelper!

from dotnet-trx with 💜

This allows to distinguish otherwise apparently duplicated messages when running tests across multiple OSes
@devlooped-bot
Copy link
Member

👉 Run 8 tests in ~ 5 seconds:

5 passed 2 failed 1 skipped

🧪 Details
❌ Demo.Tests.Fails_With_Complex_StackTrace
   at Demo.Tests.Unexpected() in /_/src/Demo/Tests.cs:line 43
   at Demo.Tests.Run() in /_/src/Demo/Tests.cs:line 41
   at Demo.Tests.<Fails_With_Complex_StackTrace>b__6_0() in /_/src/Demo/Tests.cs:line 36
   at Demo.Tests.Fails_With_Complex_StackTrace() in /_/src/Demo/Tests.cs:line 38
❌ Demo.Tests.Fails_With_Output
   at Demo.Tests.Fails_With_Output() in /_/src/Demo/Tests.cs:line 30

> It was going so well...
> Yet you never know
> Which is why you sprinkle all these WriteLines 👀

✅ Demo.Tests.Parameterized(culture: "de")
✅ Demo.Tests.Parameterized(culture: "en")
✅ Demo.Tests.Parameterized(culture: "es")
✅ Demo.Tests.Parameterized(culture: "fr")
❔ Demo.Tests.Skipped_Test_Does_Not_Run => Shouldn't run for now :)

✅ Demo.Tests.Test_With_Output

> Hello, world from xunit ITestOutputHelper!

from dotnet-trx with 💜 via .NET 8.0.6 on Ubuntu 22.04.4 LTS

@kzu kzu merged commit d5c7bdb into main Jul 7, 2024
7 checks passed
@kzu kzu deleted the dev/runtime branch July 7, 2024 20:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants