Such a tricky thing. Because there are too many teachers where this is a fact - a reality that might not be changed. I have been retraining my students to not walk in fear of judgement but to embrace finding out what they do not know so they can learn it. Part of that only comes with building relationships and celebrating achievement and potential with students. Last year I started doing a student of the week recognition and giving them a swag bag to really celebrate. Pens, markers, sunglasses, cookies, notepads, stickers, tooth brush and paste - what ever I can pack into it.
I also have been trying to help my students understand that they can achieve any level of mastery they want. Do overs are acceptable. For me I don’t care about grades like that. I care about what they leave with forever, not just a grade. I count as little as our school grading system will allow for a formative assessment. I don’t feel like students should be punished for practice. After lots of practice the summative assessment counts for the culmination of learning. Even then I give them a chance to practice some more and retest or demonstrate.
Personally I have great test anxiety and also feel judgement. I know where my students are coming from so I try to empathize with them and work together to find a path for the highest success.