The best test for diagnosis of ulcerative colitis remains endoscopy. 1  Full colonoscopy to the cecum and entry into the terminal ileum is attempted only if the diagnosis of UC is unclear. Otherwise, a flexible sigmoidoscopy is sufficient to support the diagnosis.