DEV Community

Discussion on: Report test results to slack or microsoft teams

Collapse
 
chowdaryios profile image
chowdaryIOS

Hi Anudeep , i am also working on the same thing like sending mochawesome html reports to teams. please share some knowledge , if you have any idea in this.

Collapse
 
asaianudeep profile image
Anudeep

I think there is a way to upload HTML files via Microsoft Teams bots/apps. The test-results-reporter cli uses incoming webhook urls which can only send text messages.

A clean and easy solution would be to save your mochawesome html report as an artifact in your CI/CD pipeline. Then use the artifact url in your teams message using hyperlinks extension - test-results-reporter.github.io/ex...