One minute
Regression Testing
Most software ideas fit into one of two buckets:
- Take a manual process and use software to automate it.
- Do something that no human can do, but computers make possible.
The second bucket is where most of the fun new ideas come from. But the first one is where most of our day jobs come from. Are you doing something? Could a computer do it instead?
My current favorite example is unit testing. Writing software is basically a two-step process:
- Write some code
- Run it and see if it worked.
If item two has any complexity at all, it’s better off done by the computer via a testing program. When done properly, a program should become more stable over time, as every time a bug is fixed, take whatever steps are needed to ensure that it works and turn them into a regression test.
Or you can manually check everything every time. But I’d rather the computer do that for me.
161 Words
2024-01-04 18:16