2 ms·
This is not surprising at all, to me. Just commit the example input and write your test cases against that. In a nicely structured solution, this works beautif
by yesbabyyes 11mo ago
This is not surprising at all, to me. Just commit the example input and write your test cases against that. In a nicely structured solution, this works beautifully with example style tests, like python or rust doctests, or even running jsdoc @example stanzas as tests with e.g. the @linus/testy module.
- gray_-_wolf 11mo ago> Just commit the example input The example input(s) is part of the "text", and so committing it is also not allowed. I guess I could craft my own example inputs and commit those, but that exceed the level of effort I am willing to expend trying to publish repository no one will likely ever read. :)