We usually ask a candidate to built some toy application and describe his process rationale to use. But only after we had an actual interview. Depending on level of experience this will take him/her somewhere between 1 and 6 hours (if we suspect it will take longer we usually don't consider the candidate anymore).
Not really intended as a hiring criterium, more like a monitoring tool for actual experience, modus operandi, etc.