On 2010-02-11 17:57 PM, Holger Krekel wrote: > On Fri, Feb 12, 2010 at 12:00 AM, Robert Kern<robert.kern at gmail.com> wrote: >> On 2010-02-11 16:20 PM, Ben Finney wrote: >>> >>> Guido van Rossum<guido at python.org> writes: >> >>>> The argument that a unittest framework shouldn't be "abused" for >>>> regression tests (or integration tests, or whatever) is also bizarre >>>> to my mind. Surely if a testing framework applies to multiple kinds of >>>> testing that's a good thing, not something to be frowned upon? >>> >>> To my mind, an API should take a stand on the “right” way to use it, >>> rather than being a kitchen-sink of whatever ideas had any support. >>> Doing something the right way should be easy, and doing something the >>> wrong way should be awkward. >> >> setUpClass and setUpModule are the "right" way to do many types of >> integration and functional tests. Integration and functional tests are vital >> tasks to perform, and unittest provides a good framework otherwise for >> implementing such tests. > > Ben just expressed his opinion about API design and you claim some > truth about testing in general. My first sentence was about API design. My second was justification that the use case is worth designing and API for. You can add implicit "in my opinion"s to just about anything I say, if you wish. -- Robert Kern "I have come to believe that the whole world is an enigma, a harmless enigma that is made terrible by our own mad attempt to interpret it as though it had an underlying truth." -- Umberto Eco
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4