A quantitative wavefront analysis method for star testing is proposed. Both computer simulation and laboratory experiment results of the proposed method are presented.