A new approach of parameterization is proposed to construct a general goodnessof-fit test. It can not only generate traditional tests (including the Kolmogorov–Smirnov, Cramér– von Mises and Anderson–Darling tests) but also produce new types of omnibus tests, which are generally much more powerful than the old ones.