On 2019-11-04 08:14:37 +1300, DL Neil via Python-list wrote: > Perhaps 'Python pros' don't use TDD. Which in-and-of-itself, somewhat > answers the question!
A certain Youtube channel has T-shirts for sale with this text: DON'T TRY THIS AT HOME WE ARE PROFESSIONALS because we get paid to do this I get paid to write Python code, so I'm a Python professional, right? I never really used TDD, but I was quite used to writing tests when I was writing in Perl. The TAP framework is really simple (some might say primitive) and the entry barrier to writing tests is extremely low. Besides, everybody was doing it. When I switched to Python, I mostly lost this habit. Python testing felt clunky, Java-ish, and the other Python programmers weren't writing tests either. I have since tried to get into the habit of always writing tests again, but with limited success. unittest still feels clunky, The django framework only works well if your problem fits exactly into a rather narrow niche (which none of our project really fits into). I have recently started to use pytest. That feels a bit more comfortable. We'll see. hp -- _ | Peter J. Holzer | Story must make more sense than reality. |_|_) | | | | | h...@hjp.at | -- Charles Stross, "Creative writing __/ | http://www.hjp.at/ | challenge!"
signature.asc
Description: PGP signature
-- https://mail.python.org/mailman/listinfo/python-list