3 ms·
I mean, you can write tests in any language, you don’t need a framework
by arroz 3y ago
I mean, you can write tests in any language, you don’t need a framework
- jjoonathan 3y agoYeah. You sometimes hear rules like "never write tests outside a framework," but this advice is aimed at the junior dev who doesn't want to learn the tooling, not at someone who is necrocoding in a 30 year dead language and needs to decide between loads of copy/paste and rolling their own testing framework (which would get used once, leading to amortization difficulty). Sometimes the constraints really do call for loads of copy/paste, and that's OK.
- mkovach 3y agoDejaGnu has been around forever. https://git.savannah.gnu.org/cgit/dejagnu.git/tree/ https://git.savannah.gnu.org/cgit/dejagnu.git/tree/ I still use it for testing software. Add in expect and it is fairly simple to write tests against TCL applications (I do it all the time).