QTAF
QTAF copied to clipboard
why disable use __init__?
want reload function init!
tks.
Why not use preTest fun?
Please use preTest or initTest instead of __init__. The reason we disable __init__ for a TestCase is to prevent unexpected behavior during the test loading stage. For example, if you have pending operations like a network request that could cause significant delays, it will cause test loading being hang or slow.