towncrier icon indicating copy to clipboard operation
towncrier copied to clipboard

Some way to test the template

Open fschulze opened this issue 7 years ago • 2 comments

The biggest issue for me so far was getting the template right in regard to whitespace. It would be great if there would be some easy way to test the template for various cases. Maybe even by allowing to create all possible (or some subset) permutations from the config file, though that could quickly get too much.

Kind of related to this. It seems that the --draft output isn't always the same to the final output in regard to whitespace. But I can't reproduce this anymore.

fschulze avatar Nov 09 '17 11:11 fschulze

Hmm. The draft should run the same codepaths, just writing out to a string instead of a file.

Are you thinking of some sort of "show me what it looks like" with autogenerated data?

hawkowl avatar Dec 28 '17 06:12 hawkowl

Are you thinking of some sort of "show me what it looks like" with autogenerated data?

Exactly

BTW, since this isn't said often enough: Thanks for your part (and everyone elses) in towncrier!

fschulze avatar Dec 28 '17 10:12 fschulze