The invention relates to an 
automatic testing technique applied before anti-fuse FPGA (
field programmable gate array) 
programming. The technique can automatically test any anti-fuse FPGA before 
programming. The technique includes: building a testing vector 
library, utilizing a 
software way to automatically extract testing vectors from the testing vector 
library by a testing vector sending module, and respectively inputting the testing vectors into a circuit 
logic simulation excitation applying module and a circuit response verifying module at the same time for anti-fuse FPGA circuit 
simulation; after circuit 
simulation analysis and 
verification, inputting a tested anti-fuse 
FPGA chip; collecting a result output by the 
FPGA chip by a testing response verifying module, and comparing the result with reference testing information input in advance to automatically generate a testing report so as to realize 
automatic testing of the anti-fuse FPGA before 
programming. The whole testing process can effectively avoid a lot of manual intervention; after testing is finished, a testing result of the 
chip can be known by checking the testing report. By the technique, 
automatic testing of the anti-fuse FPGA before programming can be completely quickly, and testing efficiency of the anti-fuse 
FPGA chip can be improved remarkably.