|
|
Subscribe / Log in / New account

Python 3 adoption

Python 3 adoption

Posted Apr 17, 2015 23:58 UTC (Fri) by zlynx (guest, #2285)
In reply to: Python 3 adoption by asaz989
Parent article: Python 3 adoption

This is why unit tests are good but not sufficient. They only show that code works the way that the testers think it does.

I especially hate mock objects, because now the code is being tested against a pretend version of the real thing and the mock probably has bugs.

So without integration tests on real libraries, services and hardware, the code has not really been tested at all.


to post comments

Python 3 adoption

Posted Apr 18, 2015 7:25 UTC (Sat) by cortana (subscriber, #24596) [Link]

Why not both? Unit tests are still useful for testing how your code will react when a collaborator behaves in a way that is documented, but is difficult to reproduce in a test environment.


Copyright © 2025, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds