Loading...
「ツール」は右上に移動しました。
利用したサーバー: wtserver1
14いいね 2,348 views回再生

0021 - 📊 Writing automated unit tests in Angular for components

Title: Writing automated unit tests in Angular for components

This video covers the topic of writing automated unit tests using the Karma testing framework. This framework come standard with the Angular application that is generated using Angular CLI. We start the session by executing the unit tests that were created in the prior video to see if we had any failures and begin to go through the steps to adjust them as required.
Some of the basic items that we touch on are the import statements that are added in order to satisfy the isolated component testing and adding the required dependent components that are part of the main application or within a specific component.
We then go over an example of how to initialize some parameters of a component in order to let the unit test successfully validate the generated HTML output that we would expect when using the component within the application.

Github page for this video: https://github.com/clouddeveloperio/c...

Related Video(s):

0016 - Creating a new Angular application with VS Code -    • 0016 - Creating a new Angular application ...  
0017 - Starting an Angular application and testing basics -    • 0017 - Starting an Angular application and...  
0018 - Angular + Semantic UI quick start guide -    • 0018 - Angular + Semantic UI quick start g...  
0019 - Adding jQuery to Angular for Semantic UI guide -    • 0019 - Adding jQuery to Angular for Semant...  
0020 - How to create components in Angular application walkthrough -    • 0020 - 🛠How to create components in Angula...  


#angular #angular2 #angularjs #node #nodejs #vscode #semanticui #ux #ui #components

コメント