Material testing plant has an X-ray source (9-13) which features an oblong anode (9) scanned by an electron beam. The focus (8) of the beam travels along the anode (9) so that the X-ray beam emanating from the focus (8) scans a predetermined path. The beam (5) hits a line detector (6) which comprises a row of detector elements. The output signals of the detector elements are used to determine parameters of the object (1) being tested between the X-ray source and the line detector (6).