Re: importing modules to be tested

dn via Tutor <[email protected]> Thu, 11 Jan 2024 13:10:36 +1300
Newsgroups gmane.comp.python.tutor
Organization DWM
Message-ID <[email protected]>
On 11/01/24 12:50, Alex Kleider wrote:
> Thanks "dn" for your response.
> I couldn't find an explicit answer to my question but am I to understand that
> if one uses one of the testing frameworks then the problem goes away?

Yes, don't waste your time by doing things the hard-way, unnecessarily!


> Alex
> 
>> Again, you've 'taken the bull by the horns' and bravely attempted to
>> solve the problem.
>>
>> However, this is 're-inventing the wheel' and not 'standing on the
>> shoulders of giants' (who have trod this path before).
>>
>> There are three popular automated-testing frameworks:
>>
>> - doctest
>> - unittest
>> - pytest
>>
>> NB there are others, as well as plug-ins/extensions to the above - the
>>

-- 
Regards,
=dn

_______________________________________________
Tutor maillist  -  [email protected]
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor