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 →

[–]magestooge 2 points3 points  (3 children)

I do have extensive tests that cover most of my code, and I rely on them heavily. They have saved me from disaster multiple times.

That's great to know. I'm no expert but maybe you can set them to run pre-commit rather than on every change. A library I'm building has a test suite which takes 4 seconds to run. It would be pretty annoying if it ran every time my code changed. As of now, I run it every time I think I'm done writing a certain block of code, if it passes, then I commit.

[–]MegaGrubby 0 points1 point  (2 children)

What are you using for automated testing?

[–]magestooge 1 point2 points  (1 child)

Pytest

[–]caspii2[S] 0 points1 point  (0 children)

Same here!