[Tutor] importing modules to be tested
dn
PythonList at DancesWithMice.info
Wed Jan 10 19:10:36 EST 2024
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
More information about the Tutor
mailing list