DEV Community

Discussion on: React Testing with Airbnb's Enzyme, Jest and Babel

macmacky profile image
Mark A Author • Edited on

Hi Pedro! I always find it hard what to write inside the πŸ˜ƒ it('what to write here'), do I use the method name of the method I'm gonna test? do I have to make the sentence longer so my teammates can understand or do I have to be more specific and be more technical?

But after reading your comment I finally understand that writing tests should be readable and should be easily understandable to another person specifically a teammate. I really appreciate your comment it helped me realize that writing tests and code should be the same they must be readable and should be easy so people can understand it.

I'm gonna try that library today. Thanks, man! Have a great day.

ramospedro profile image

Great, Mark!
I see you have great coding skills. It'll be very easy for you to get even better at writing good tests.