Unit test & Angular
Last updated
Was this helpful?
Last updated
Was this helpful?
The best tutorials suite (video + code) on Angular testing
Rangle.io very clear book on angular included testing
Official document in angular site
Practical tutorial in the context of angular
What is unit test and continuous integration
unit testing angular (Jasmine + Karma)
A bit old but great description of 3 types of tests to angular components by Victor Savkin
Angular testing recipes
A repository to an app with many testing case ordered by type
Angular testing guide : good practicle documentation of test per types (component, service, pipes....)
In this article he explain 3 types of components testing :
isolated tests are a great way to test drive your components and test complex logic.
Shallow tests are isolated tests on steroids, and they should be used when writing a meaningful test requires to render a component’s template.
Integration tests verify that a group of components and services (e.g., the router) work together.
Testing component by rangle.io
2 Ways to access the DOM inside unit test in angular
The code Of Debug element a wrapper on DOM API
Good tutorial on the various strategy of mock....
Console.log
open a chrome debugger in the karma launched chrome window a trick is that the error messages are something difficult to understand because of the fact that it refere to compile code transformed in ES5 like
at Object.reducer (webpack:///./src/app/platform/applicability/store/reducers/applicability.reducer.ts?:104:73)
so
by opening the chrome debugger
going to
A question on tick and whenStable / How to deal with async data
More about async
About using async and zone.js
Difference between async and test async
testing async as if there were not
guide sur les tests asynchrones en francais
Spying and mocking service
Testing services with HttpTestingController
Testing service with
The same technic as explained in the angular test guide official
Override component in rangle.io tuto
Rangle.io version
Todd motto ultimate angular
Todd motto ultimate angular branch with test