The invention provides a testing device and a testing method, and relates to the technical field of vehicle testing, the testing device comprises a cabin body, the cabin body is internally provided with a testing cavity, and the testing cavity is used for accommodating a vehicle; the environment
control unit is arranged in the test cavity, is used for
controlling environment conditions in the test cavity, and comprises a temperature adjusting device, a
smoke generator, a flying dust simulator, an
electromagnetic interference generator and a vibration device; the at least one
simulation device is arranged in the test cavity and can move in the test cavity according to a preset track; and the control device is in communication connection with the plurality of sensors and is used for acquiring
sensing data of the plurality of sensors to the
simulation device under different environmental conditions and comparing the
sensing data with reference data of the
simulation device so as to evaluate the performance of the sensors. According to the test device provided by the invention, composite extreme environments of extremely cold, low
visibility, dust raising, vibration,
electromagnetic interference and the like of a mine can be reproduced, and comprehensive and accurate
verification of a sensor of a vehicle is ensured.