5 ms·
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, mostl
by wott 5y ago
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.