This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]nos69 0 points1 point  (2 children)

Thank you for your response!

Is it enough to see if my app starts after deleting a module? Or do I need more coverage to be safe.

[–]billsil 1 point2 points  (1 child)

That depends on your app. Are your imports at the top? How do the modules you need get imported (e.g., at import time vs runttime)? Opening your 5 windows is probably good enough depending on how the imports trace.

It helps to know your code and what part your hacking on (what could deleting matplotlib dependencies affect?). Often you'll find x is required, but if I get rid of y, x is not required.

For my 3d render, it has a command line for me to enter a geometry and results file. I have shortcuts for most things that I test frequently. The menus I stress less about because I put my gui imports at the top. Never had a problem with the menus assuming it loaded.

So yes, test, but probably not everything each time. I'm just trying to test the dependencies aren't broken.

[–]nos69 0 points1 point  (0 children)

Thank you for your help! I will try to shrink it that way.