Friday finking: TDD and EAFP
Peter J. Holzer
hjp-python at hjp.at
Tue Nov 19 18:56:51 EST 2019
On 2019-11-18 19:00:41 -0500, Mark Turner wrote:
[trivial test]
> I think this simple test like has value. It’s just not where you
> expect it to be. In order to get this test to pass you have to have
> your development environment set up, your testing environment set up
> and perhaps some basic dependencies resolved.
That's a good point.
Especially if your environment is a bit complex (as it invariably is
when you want to test web applications, for example), it is a very good
idea to start really simple just to make sure you have your environment
set up correctly.
hp
--
_ | Peter J. Holzer | Story must make more sense than reality.
|_|_) | |
| | | hjp at hjp.at | -- Charles Stross, "Creative writing
__/ | http://www.hjp.at/ | challenge!"
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/python-list/attachments/20191120/528c5bce/attachment.sig>
More information about the Python-list
mailing list