I used to unit test my AngularJS application using Jasmine and Karma. I would like to know if is it a way to generate karma unit test files.
By the way is it a good thing to generate (or try so) unit test files or is it preferable to do it manually ?
Karma is a test runner and you can choose/mix your own test frameworks such as
Generally, you can use
end-to-end testing etc.
Manual testing is required all the time in terms of any
new features/enhancements/upgrades etc whenever you change something and test the changed code/UI/functionality.
automated testing with karma said above are required to avoid the regression testing effort where you didn't change the code directly but there should be an indirect impact to find any of the new changes broken the existing functionality.
When you automate this karma/jasmine testing in to the
CI/CD build tools like
TeamCity/Bamboo/Jenkins etc, you could find the regression impact as early as possible (most probably on the development phase) instead of letting it to go into
UAT/Staging/Pre (or) post production phases.
Thus to summarize,manual testing is always required to test the immediate changes and automated test cases are required to test the regression impact.
At minimum, unit testing should be required and having user acceptance testing and end-to-end testing would be best to cover.
Hope it clarifies your question :-)