Jan 18, 2022 · Your doctor will likely diagnose viral gastroenteritis (stomach flu) based on symptoms, a physical exam and sometimes on the presence of similar cases in your community. A rapid stool test can detect rotavirus or norovirus, but there are no quick tests for other viruses that cause gastroenteritis.