whodunnit

 
Pronunciation: /huːˈdʌnɪt/
(US whodunit)

noun

informal
  • a story or play about a murder in which the identity of the murderer is not revealed until the end.

Origin:

1930s: from who done it?, non-standard form of who did it?