Re:Angular 5.0.0
by rockostrich on Wednesday November 01, 2017 @02:54PM
(#15604394)
Has testing components become any easier? I remember having to write a lot of boilerplate code every time that I wanted to test a component.
[ Parent
| on HN ]
Not really. Testing components is still really a pain: there's lots of boilerplate and the tests are extremely slow. In a medium-size project, they're far too slow to treat as unit tests: I break out all the TestBed stuff into a separate karma integration test config.
Angular is in desperate need of something like Enzyme.