I have a script of about 50 lines that reads data from a database, loads it into a pandas dataframe and then perform numerous operations on the dataframe.
I was wondering how people generally test this type of code? I'm not talking about tools like assert_frame_equal, but rather principles people follow.
For instance, should I create 50 separate tests to basically test each operation performed or should I try to break up the script in smaller parts?
If anybody knows of quality open source projects that I can use as inspiration, please let me know.