id,summary,reporter,owner,description,type,status,priority,component,severity,resolution,keywords,cc,release 10396,Set up a functional test suite,ejucovy,ejucovy,"This plugin would benefit from a functional test suite; it should relatively easy to set up automated functional tests of its behavior, and the code involves several bits that address edge cases in fairly non-self-documenting ways. There are also a number of open feature requests and bug reports that involve fairly complex setups. Having a functional test suite would make the plugin more protected against regressions, more self-documenting, and easier to develop additional features and bugfixes against. A basic functional test suite should include tests for: * the plugin's basic behavior when commenting on an existing ticket with another ticket's reference * and when creating a new ticket whose description references another ticket * and when editing an existing comment (#6535) * and that the behavior is not triggered when including an apparent ticket reference inside a code block (#6846) crossed with conditions where: * the referenced ticket has a comment on it, and that comment is the latest change on the referenced ticket * and when referencing a ticket that has never been touched since creation, i.e. has no changelog entries (#9008) * and when referencing a ticket whose latest change is not a comment (#9743) Not all permutations of the above are necessarily needed, but also probably wouldn't hurt; I think it's worth formally distinguishing between demonstrations of the plugin's expected behavior (the first group above) versus tests of the conditions under which the behavior should work as expected (the second group above)",task,new,normal,TracBacksPlugin,normal,,,,1.0