There is no specific test for dissociative identity disorder. A diagnosis is based on the person's symptoms, after other possible medical and psychiatric conditions have been ruled out.