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 support for custom test events #406

Closed
mikeblakeuk opened this issue May 19, 2020 · 2 comments
Closed

Add support for custom test events #406

mikeblakeuk opened this issue May 19, 2020 · 2 comments

Comments

@mikeblakeuk
Copy link
Contributor

We want to Add Azure App Insights to the test to monitor performance.
Can we add a ITestContext that works in the same way as IAssemblyContext (like IOutput)?

This feels the wrong way of doing it:
master...mikeblakeuk:task/appinsights-timer

@robertcoltheart
Copy link
Member

Bottom line: there isn't any real reporting for all the major CI tools nor extensible reporting hooks. This is very much a 2.0 thing and covered here: #366. If you want to output test execution (for now), I'm afraid you're stuck with what you've done in your code above. I can revisit when I get more time after the current quarantine.

@mikeblakeuk
Copy link
Contributor Author

Now we can use the Visual Studio TestAdapter, Azure DevOps reporting comes out for "free". (just run dotnet test). It more about adding extension points so we can do actions before / after tests, (both subjects, establish, because, it etc).

Looks like we need to push hard to upgrade from .net 4.5.2 so we can use 2.0. It might be we jump to .net 5.0 due in October..

My other main concern is the use of the word "current" re; quarantine!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants