Isn't that just called unit testing?
See:
https://en.m.wikipedia.org/wiki/One-factor-at-a-time_method
See:
https://en.m.wikipedia.org/wiki/One-factor-at-a-time_method