Definition: Given a real-life anecdote of a complex ethical situation, generate a suitable title that describes the main event/root cause of the situation. Imagine that the given text is a social media post, and you have to write the title of the post, so the users can decide to read the main text or not.
Input: This is my first post here, and hopefully my last. Most people know me as an honest and nice person, because I really try to be in most cases, sadly my teachers know that. I have never in my life "ratted" someone out but this was something I thought was justified by me.   
For context purposes, there was an exam recently in which some students cheated. Another students found out they did and told on them to the school board directly. We've all been waiting on something to happen to these students, but nothing yet. The entire school knows about what happened, teachers and students included.  
So today I was just minding my own business when a teacher came up to me and told me to go into an empty classroom with them. I sat down and was instantly bombarded with questions as to who did what and how and so on. The teacher reassured me that they didn't care about who, and that the teacher knew already but wanted to hear it from someone from their class (this teacher is my homeroom teacher). 30 minutes into the questioning the teacher says that they are more upset with the person who told on them, because what they did was wrong. The teacher then asked if I heard any names flying around who have been accused of cheating one last time when I budged and two names slipped out. The people that I mentioned found out because I felt so bad about I had to tell someone, and they absolutely despise me now. I wrote an apology and everything, stated that I really did mess up, but I thought it isn't as bad as it seems due to the teacher pressuring me incredibly and the entire school already knowing most of the people who did infact cheat.   


TL;DR: I was pressured into telling my teacher who already knew about who cheated on an exam who it was just to reassure themselves. The teacher said they would keep it to themselves and I think they will. My whole class hates me, AITA?

telling a teacher about something that my friends did