I have finished an application with the MERN Stack and I'm quite happy with the result, Now I want to do unit testing. But I don't know where to begin.Should I follow a specific way? or it is just like all the other software?There are a million frameworks out there, jest mocha, etc. I am not looking for a tutorial on "how I should call a function" but rather what should I test.For example in the front-end I am using react, what should I test about it? for example, if the output of the useEffect function is correct? I have at least 200 components should I test all of them? Should I test google map if it works correctly?I don't have experience with unit testing and don't even know what does it mean. Can you please lead me on the right track to start?Thank you.
Submitted March 02, 2020 at 02:47PM by LukeDelray24
No comments:
Post a Comment