Hello everyone,
I've always been someone who just writes code, runs it, and fixes bugs as they come up. But now that I'm working on a medium-sized project with a team, I realize the importance of proper JavaScript testing.
So here's my question:
[1] Is there a guideline for testing procedures from experienced engineers? What should I be testing and how should I go about it? Examples with explanations would be really helpful.
[2] I keep hearing about Jasmine, Mocha, Grunt, and Karma for testing, but I don't fully understand why I should use them or how. Can anyone provide examples of when to use these tools?
I know this might seem like a basic question, but I'm eager to learn. Even if you think this topic is too broad, could you share your thoughts from a specific point of view with a small example? My main focus is on understanding what specific tests I should be doing regularly (like a test flow). How to do the tests is secondary.
Thank you in advance!