Take care of your test code Posted on by Michal Franc As developers we tend to write complicated unit tests that are hard to read and maintain. Maybe it comes from the feeling that test code is not a proper code ? There is some magic in writing ‘proper’ unit tests. Using word proper might not be even suitable here because how do you define ‘proper’. It is the same problem as with the definition of ‘unit, everyone has his own definition that depends on the context. Code below feels like not ‘proper’ ...
Sztuka programowania 3213 dni, 12 godzin, 48 minut temu 80 źrodło rozwiń