The test uses autofluorescent single-walled carbon nanotubes to detect bacterial cell death in antimicrobial-containing microfluidic channels.