Is not impossible to solve Exercism exercises using *LaTeX* and applying TDD metodology but it’s a bit hacky…
pdflatex: https://www.tug.org/applications/pdftex/version details
pdfTeX 3.141592653-2.6-1.40.26 (TeX Live 2024/Arch Linux) kpathsea version 6.4.0 Copyright 2024 Han The Thanh (pdfTeX) et al. There is NO warranty. Redistribution of this software is covered by the terms of both the pdfTeX copyright and the Lesser GNU General Public License. For more information about these matters, see the file named COPYING and the pdfTeX source. Primary author of pdfTeX: Han The Thanh (pdfTeX) et al. Compiled with libpng 1.6.43; using libpng 1.6.43 Compiled with zlib 1.3.1; using zlib 1.3.1 Compiled with xpdf version 4.04pdftotext: http://poppler.freedesktop.orgversion details
pdftotext version 24.03.0 Copyright 2005-2024 The Poppler Developers - http://poppler.freedesktop.org Copyright 1996-2011, 2022 Glyph & Cog, LLCbats: https://bats-core.readthedocs.io/en/stable/version details
Bats 1.11.0
Enter in a subdirectory and runs:
bats *.batsFor instance, the step by step for the reverse-string exercise can be:
cd reverse-string/
bats *.batsoutputs:
1..6 ok 1 an empty string ok 2 a word ok 3 a capitalised word ok 4 a sentence with punctuation ok 5 a palindrome ok 6 an even-sized word
Try to port code to use qtest package.