Because then the testing stimulus is not hard coded anymore, but generated. It's then trivial to run longer sequences, or tweak the test.
In hardware design, where reliability is key (making a chip costs multiple millions and 6 months time), there is only random testing (with seed for reproducibility), not "that bunch of case that the person testing thought of that day"