We have developed and demonstrated a clock-driven on-chip testing (CDOT) method for high-speed testing of superconductor logic circuits. This testing method uses an on-chip signal-pattern generator (SPG) driven by a clock signal. The SPG is based on a feedback shift register, in which a complement output of the last-stage D-flip-flop is fed back to the first-stage D-flip-flop. Thus, SPG generates a periodic signal-pattern when a clock signal is applied to it. The advantages of this testing method are that: (a) no external control signal is needed; (b) a simple SPG that consists of only D-flip-flops is used; (c) it is easy to extend to multi-bit testing. This greatly simplifies high-speed testing and design of test circuits. We have applied this method to the high-speed testing of the ring interface (RIF) circuit, which is an elemental circuit in our superconducting ring-network system. We have designed a test circuit, consisting of the RIF circuit and a 12-bit on-chip test-pattern generator, with resistor-coupled Josephson logic (RCJL). The test circuit includes about 1,400 Josephson-junctions. It has been fabricated using Nb/AlO/sub x//Nb Josephson-junction technology. As the result of the high-speed testing, full operation of the RIF circuit at 1-GHz clock frequency and proper operation of a sending part of the RIF circuit at 2-GHz clock frequency have been successfully verified.