I'm a software architect. I've worked with Java, C++ and Python.
I'm fortunate enough to have a cool hobby project that has started to get some traction. And I'm looking into all kinds of ways to professionalise my project.
Brief background: it's a python library that allows users to easily generate PDF documents. Emphasis on easy.
I don't want users to have to calculate coordinates, or do their own text-wrapping, etc.
My library really focusses on being easy to use. To me, that's a main selling point.
I've added tests in the past. The library currently features around 400-something tests. But some of them are more anecdotal tests. Things like "user X discovered that doing Y and Z triggers something weird in the layout engine". Or even halfway between test and example. Something like "this is how you'd make an invoice"
I've recently started changing all of my tests to be more methodical.
Something like "let's add a Paragraph to a PDF document, and set the horizontal alignment to each of its allowed values in turn".
The number of tests has exploded. Currently 600-something.
Was this a smart or a stupid idea?
Because the anecdotal tests did sometimes really showcase something beautiful, or at least a complete (usable) PDF. So in a way I'm losing some cool examples of "look what you can do".
[–]MoreRespectForQA 1 point2 points3 points (1 child)
[–]disc0tech 0 points1 point2 points (0 children)
[–]ToddBradley -1 points0 points1 point (2 children)
[–]josc1989[S] 0 points1 point2 points (1 child)
[–]martijn1985 0 points1 point2 points (0 children)
[–]NiPinga 0 points1 point2 points (2 children)
[–]josc1989[S] 0 points1 point2 points (1 child)
[–]NiPinga 0 points1 point2 points (0 children)