EP 13.11 - Angular / Unit Testing / Model Driven Forms

Опубликовано: 26 Декабрь 2018
на канале: jawache
21,514
84

📚 Read the book 👉 https://go.asim.dev/angular-book
🔥 Level up your JavaScript 👉 https://go.asim.dev/advjs
🌿 If you find my videos useful please consider planting a tree for me 👉 https://go.asim.dev/trees
🎥 Watch the full playlist 👉 https://go.asim.dev/angular-playlist

The best place to view the code associated with this course is in the online book (https://go.asim.dev/angular-book) via the book if a lecture has code associated with it, it then also has a link to a stackblitz instance so you can run and edit the code sample online.


We can easily unit test model-driven forms in Angular by just testing the form model itself.

To test template driven forms in Angular we need to launch a full end to end testing environment and interact with a browser to test the form.

Next, we will take a look at how to test an application that makes HTTP requests.