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

[Guidance/Documentation] Message Bus Artifacts #3261

Open
thomhurst opened this issue Jul 14, 2024 · 1 comment
Open

[Guidance/Documentation] Message Bus Artifacts #3261

thomhurst opened this issue Jul 14, 2024 · 1 comment
Labels
Area: Testing Platform Belongs to the Microsoft.Testing.Platform core library Type: Docs

Comments

@thomhurst
Copy link
Contributor

In the new testing platform, when using the message bus, apart from the main use of publishing test node updates, there's also a few other things we can publish out of the box, mainly being artifact objects.

image

I can't see any documentation on these so just wondered:

  • What the idea/use case/general direction for usage for these would be?
  • If I pushed an artifact to the message bus, what would (and how would it) appear and where? Would an IDE show me a file? Would the dotnet cli give me a path to some outputs?
  • What do you see as a Session artifact? Maybe like an overall report or something? And what would you consider as a test node artifact? Maybe a UI test that took screenshots or videos? Again, if this was the case, how would these be reported/displayed back to the user?

So overall this issue is for better documentation around artifacts and how you envision any framework creators using them.

@Evangelink Evangelink added Type: Docs Area: Testing Platform Belongs to the Microsoft.Testing.Platform core library and removed Needs: Triage 🔍 labels Jul 15, 2024
@Evangelink
Copy link
Member

Thanks for the feedback, we will definitely improve this part of the documentation.

there's also a few other things we can publish out of the box, mainly being artifact objects.

You can virtually push any object to the push but for it to have any sense, you need to have some subscriber registered.

What do you see as a Session artifact?

A code coverage report is a session level artifact, it's attached to the test session and not to a given test. On the opposite, with MSTest, you can attach specific arbitrary documents to a given test, doing so we would push a TestNodeFileArtifact.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: Testing Platform Belongs to the Microsoft.Testing.Platform core library Type: Docs
Projects
None yet
Development

No branches or pull requests

2 participants