Here, a method is described to feed Drosophila melanogaster with drugs and plant extracts and assess their effect on the gastrointestinal tract by analyzing the fruit flies fecal deposits. The drug-treated flies can be used as a model for further research.