Unit Testing Fundamentals
學習完整課程,瞭解更多知識
Testing Angular 4 (previously Angular 2) Apps with Jasmine
Learn to write unit and integration tests for your Angular apps and deploy them with confidence
02:10:00 長的隨選影片 • 更新於 April 2018
Write clean and maintainable tests for your Angular apps
Examine how much of your code is covered by tests
Write tests for re-usable components
Write tests for component templates
Write tests for forms
Write tests for confirmation boxes
Write tests for the navigation
Write tests for attribute directives
Work with asynchronous operations
Provide fake dependencies to components under test
Use spies to track function calls or replace functions