Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I mean, you can write tests in any language, you don’t need a framework


Yeah. 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.


DejaGnu has been around forever.

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).




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: