Generators are helper programs that output testcases. Most programming task usually require a large input (for example, an array of up to $$$2 * 10^5$$$ elements, a tree of up to $$$10^5$$$ vertices), and adding testcase manually is obviously not sufficient.