Hacker News new | past | comments | ask | show | jobs | submit login

I believe that, whenever possible, tests should be written in a different language that the one used for the code under test (even better, in a dedicated, mostly declarative, testing language).

It avoids replicating the same category of errors in both the test and the code under test, especially when some calculation or some sub-tests generation is made in the test.




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

Search: