Python doesn't easily let you refactor code. Simple, breaking changes can only be caught at run-time, which is frustrating. We have a small collection of scripts to see that acsys works, to first order. But they don't exhaustively test the modules.
We should evaluate Unit Test libraries, pick one, and incorporate tests in the code so we can feel confident we haven't broke anything after adding features (or fixing other bugs!)
Has anyone had experience with testing Python libraries? Any recommendations?
Python doesn't easily let you refactor code. Simple, breaking changes can only be caught at run-time, which is frustrating. We have a small collection of scripts to see that
acsysworks, to first order. But they don't exhaustively test the modules.We should evaluate Unit Test libraries, pick one, and incorporate tests in the code so we can feel confident we haven't broke anything after adding features (or fixing other bugs!)
Has anyone had experience with testing Python libraries? Any recommendations?