The technician ran a diagnostic test on the printer.
技術者はプリンターに診断用のテストを実行しました。
/ˌdaɪəˈɡnɑstɪk/ダイアグノスティック
原因や状態を特定するための検査・道具を表します。
The technician ran a diagnostic test on the printer.
技術者はプリンターに診断用のテストを実行しました。

病気や機器の不具合について、原因や状態を特定するために使うことを表す形容詞です。
原因究明に使う検査や道具の前に置きます。
diagnosisは名詞、diagnoseは動詞です。
diagnostic test/tool/softwareのように名詞の前に置きます。名詞では「診断法」を表すこともあります。
基本例文に加えて、用途の異なる3つの場面で使い方を確認します。
The technician ran a diagnostic test on the printer.
技術者はプリンターに診断用のテストを実行しました。
A diagnostic tool identified the fault.
診断ツールが故障を特定しました。
The doctor ordered diagnostic tests.
医師は診断検査を指示しました。
Our diagnostic software detected a damaged cable.
当社の診断用ソフトが損傷ケーブルを検出しました。