In the infrared integrated optical systems,the dark current and its noise are the key indicators of the detector performance,measuring them on a project is of great significance.This article proposed an infrared detector dark current testing and analysis methods from the engineering point of view.The main idea is that,by changing the blackbody temperature and integration time,getting different curve fitting,and then by the proposed method to calculate the detector dark current.