This simple transistor gain test acts as an oscillator for the transistor under test. The circuit is from a Radio Electronics magazine from August 1960. The gain is given by a calibrated potentiometer indicated at the point where the oscillation occurs.
