Update: Jun 2020: They are not totally dead, but only good for testing whether or not a component creates. Everything else is much better tested u...
For further actions, you may consider blocking this person and/or reporting abuse
Have you given
angular-testing-library
a try? You can use it with Karma/Jasmine or JestWow, it's exactly the reason why I was looking into Cypress, I wanted all the rendering to be done by the application, not the test component. Thanks... Looks like a keeper.
Awesome, can't wait to read it!
I remember trying to test my angular components, and i was starting my web dev journey, 3yrs back. I know how difficult it was and even after multiple attempts i failed miserably It was not at all intuitive and consumes lot of time and gave me lot of stress. I even developed inferiority complex, that i am not capable enough. Fast forward to today, I am very proficient with angular and also have mentored 1000+. But still not comfortable with testing.
This blog is such a relief that i was not the only one who hated the way testing is done in Angular. However I just discovered testing-llibrary and it looks intuitive to implement. Thanks for the blog.
Sorry, but i might have a weird question, but how can i do unit testing without zone.js in the project. is it possible to achieve with karma and jasmine?