1.

Why Not Just Use System.out.println () For Unit Testing?

Answer»

Debugging the code USING system.out.println() will lead to manual scanning of the whole OUTPUT every time the PROGRAM is run to ensure the code is doing the expected OPERATIONS. Moreover, in the long run, it takes lesser time to code Junit methods and test them on our files.

Debugging the code using system.out.println() will lead to manual scanning of the whole output every time the program is run to ensure the code is doing the expected operations. Moreover, in the long run, it takes lesser time to code Junit methods and test them on our files.



Discussion

No Comment Found