Test your Angular web application using Jasmine and Karma
Offered By: Coursera Project Network via Coursera
Course Description
Overview
In this 1-hour long project-based course, you will learn how to generate a new Angular project, create components and write unit tests in the spec file. You will learn how to bootstrap your tests, and will test the presence of text and the action of clicking a button. You will test the presence of HTML attributes, and the passage of data from a parent component to a child component.
Note: This course works best for learners who are based in the North America region. We’re currently working on providing the same experience in other regions.
Syllabus
- Project Overview
- Ever wondered what the “spec” file is in your Angular components? That’s the component unit testing code that is written using Jasmine, the JavaScript testing framework. This project will show you how Jasmine works, and how testing is actually run using Karma. You will generate a new Angular project, create components and write unit tests in the spec file. You will learn how to bootstrap your tests, and will test the presence of text and the action of clicking a button. You will test the presence of HTML attributes, and the passage of data from a parent component to a child component.
Taught by
Sherif A. Tawfik Abbas
Related Courses
Desarrollo de páginas con AngularUniversidad Austral via Coursera Angular: Building on Azure Microservices
LinkedIn Learning Introduction to Unit Testing
Scrimba Angular 4: From Theory to Practice & FREE E-Book
Udemy Angular JS: Full-Stack Development with Angular JS and Flask
Udemy