mardi 1 décembre 2020

How do you test unmodular, very long code? [closed]

I'm working with inherited code that's split up into a ~50 line main function that calls a subroutine, and the subroutine that is ~900 lines long. What is a good way to go about testing code that doesn't lend itself to unit testing?

Aucun commentaire:

Enregistrer un commentaire