Главная
Study mode:
on
1
Intro
2
Why do we write tests?
3
Testing in Angular
4
Testing using Angular CLI
5
Asynchronous Tests
6
Demo: Delayed Echo Server
7
Let's start to test
8
Problem with Jasmine done
9
Jasmine done fail
10
async helper
11
Problem: Long promise chains
12
Timer
13
Demo: Debounced Echo Server
14
How to test that?
15
Test Demo
16
XHR(HttpClient)
17
Demo: XHR Echo Server
18
Http Testing Controller
19
Summary
20
More about unit test
21
Async in Protractor
22
Disable control flow
23
Use async/await in test
24
AOT Test
25
Component harness
26
To Summarize...
Description:
Explore best practices for testing Angular applications in this conference talk from ng-conf. Learn why writing tests is crucial, how to leverage Angular CLI for testing, and techniques for handling asynchronous tests. Dive into practical demonstrations, including a delayed echo server and debounced echo server, to understand common testing challenges. Discover solutions for long promise chains, working with timers, and testing XHR/HttpClient interactions. Gain insights into unit testing, asynchronous testing in Protractor, and using async/await in tests. Understand the benefits of AOT testing and component harnesses to improve your Angular application's reliability and maintainability.

Testing Best Practices for Angular Applications

ng-conf
Add to list