The methods and techniques used to detect and diagnose viral infections in clinical and research settings.