The clear answer is no, the court will not require you to take part in random alcohol and drug testing. It is illegal for the court to ask for random testing under State v. Rose, (a link to the case is below) . I would still encourage you to follow the court's order and not drink. But, if you do drink, the only way you will be caught is if show up to court obviously drunk or are arrested for an alcohol-related offense (e.g., DUI, a bar fight, domestic violence, etc.).