Actions
Patch #28207
closedTest improvements for footnotes formatting syntax
Description
This originates from #28119#note-2.
- We might want to add a simple test (like
ApplicationHelperTest#test_footnotes
, but than in source:trunk/test/unit/lib/redmine/wiki_formatting/markdown_formatter_test.rb) for markdown footnotes as enabled per #16072. - And while looking at the above, the question of 'how many other textile syntax tests are there remaining, lurking outside of source:/trunk/test/unit/lib/redmine/wiki_formatting/textile_formatter_test.rb and what do we want to do with them?' came up...
- The answer to the first part would be 'several' (among them e.g.
ApplicationHelperTest#test_footnotes
). My answer to the second part of the question would be 'move them to the dedicatedTextileFormatterTest
class'.
- The answer to the first part would be 'several' (among them e.g.
- 0001-Add-footnotes-test-for-markdown-formatter-16072.patch
- This patch adds a footnotes test for the markdown formatter (
MarkdownFormatterTest#test_footnotes
).
- This patch adds a footnotes test for the markdown formatter (
- 0002-Move-textile-footnotes-test-to-TextileFormatterTest.patch
- This patch moves
ApplicationHelperTest#test_footnotes
to becomeTextileFormatterTest#test_footnotes
.
- This patch moves
In case there is consensus on my answer to the question raised under point 2, I'll open a dedicated container issue for it.
Note: I won't target this issue to any version, as I don't think this is of any use for the changelogs.
Files
Related issues
Updated by Mischa The Evil almost 7 years ago
- Related to Feature #16072: Markdown footnote support added
Updated by Go MAEDA over 6 years ago
- Status changed from New to Closed
- Assignee set to Go MAEDA
Committed. Thank you for improving the test suite.
Actions