Is there any way we can post JUnit results **/TEST-*.xml
to Slack. I have tried all possible ways but couldn't able to solve the issue.
Asked
Active
Viewed 2,103 times
-1

user1642224
- 61
- 14
-
1https://api.slack.com/methods/files.upload ? Definitely not a junit-related question. – Sormuras May 30 '17 at 10:14
-
Thanks @Sormuras tried this already. Didn't work for me – user1642224 May 30 '17 at 10:27
-
3"didnt work for me" isnt working for us. How are we supposed to understand *why* it doesn't work for you? What exactly did you try; and more importantly: why doesnt it meet your requirements? In essence, you are asking "can someone help me", and guess what: https://meta.stackoverflow.com/questions/284236/why-is-can-someone-help-me-not-an-actual-question – GhostCat May 30 '17 at 12:15
1 Answers
3
JUnit itself cannot do this. It is not the goal of this framework to publish things. For such purpose you would use a build script or tool like
- Maven - https://github.com/moacyrricardo/maven-slack
- Gradle - https://github.com/Mindera/gradle-slack-plugin
Or even more convenient a CI tool like

cheffe
- 9,345
- 2
- 46
- 57