A method for onsite bacteria testing for oil and gas applications including collecting at least one component of a wellbore fluid exposing at least one contaminant in the at least one component to at least one substrate that produces a detectable moiety and performing a quantitative or qualitative detection of the detectable moiety.