Search code examples
spockissue-tracking

How to make Spock @Issue annotation render in damage control reports?


The Spock testing framework has the Damage Control plugin that generates nice reports for your tests, and Spock has the spock.lang.Issue annotation, which:

Indicates that a feature method or specification relates to one or more issues in an external issue tracking system

It seems a no-brainer that the damage control report should be able to render the link in its report, but I can not figure out to do it.


Solution

  • As far as I know the @Issue annotation is currently unused. Either you ask the writers of Damage control to implement what you ask or you implement it yourself and send them a pull request :-)