Udemy
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
Development
Web Development Data Science Mobile Development Programming Languages Game Development Database Design & Development Software Testing Software Engineering Development Tools No-Code Development
Business
Entrepreneurship Communications Management Sales Business Strategy Operations Project Management Business Law Business Analytics & Intelligence Human Resources Industry E-Commerce Media Real Estate Other Business
Finance & Accounting
Accounting & Bookkeeping Compliance Cryptocurrency & Blockchain Economics Finance Finance Cert & Exam Prep Financial Modeling & Analysis Investing & Trading Money Management Tools Taxes Other Finance & Accounting
IT & Software
IT Certification Network & Security Hardware Operating Systems Other IT & Software
Office Productivity
Microsoft Apple Google SAP Oracle Other Office Productivity
Personal Development
Personal Transformation Personal Productivity Leadership Career Development Parenting & Relationships Happiness Esoteric Practices Religion & Spirituality Personal Brand Building Creativity Influence Self Esteem & Confidence Stress Management Memory & Study Skills Motivation Other Personal Development
Design
Web Design Graphic Design & Illustration Design Tools User Experience Design Game Design Design Thinking 3D & Animation Fashion Design Architectural Design Interior Design Other Design
Marketing
Digital Marketing Search Engine Optimization Social Media Marketing Branding Marketing Fundamentals Marketing Analytics & Automation Public Relations Advertising Video & Mobile Marketing Content Marketing Growth Hacking Affiliate Marketing Product Marketing Other Marketing
Lifestyle
Arts & Crafts Beauty & Makeup Esoteric Practices Food & Beverage Gaming Home Improvement Pet Care & Training Travel Other Lifestyle
Photography & Video
Digital Photography Photography Portrait Photography Photography Tools Commercial Photography Video Design Other Photography & Video
Health & Fitness
Fitness General Health Sports Nutrition Yoga Mental Health Dieting Self Defense Safety & First Aid Dance Meditation Other Health & Fitness
Music
Instruments Music Production Music Fundamentals Vocal Music Techniques Music Software Other Music
Teaching & Academics
Engineering Humanities Math Science Online Education Social Science Language Teacher Training Test Prep Other Teaching & Academics
AWS Certification Microsoft Certification AWS Certified Solutions Architect - Associate AWS Certified Cloud Practitioner CompTIA A+ Cisco CCNA CompTIA Security+ Amazon AWS AWS Certified Developer - Associate
Graphic Design Photoshop Adobe Illustrator Drawing Digital Painting InDesign Character Design Canva Figure Drawing
Life Coach Training Neuro-Linguistic Programming Personal Development Mindfulness Meditation Personal Transformation Life Purpose Emotional Intelligence Neuroscience
Web Development JavaScript React CSS Angular PHP WordPress Node.Js Python
Google Flutter Android Development iOS Development Swift React Native Dart Programming Language Mobile Development Kotlin SwiftUI
Digital Marketing Google Ads (Adwords) Social Media Marketing Google Ads (AdWords) Certification Marketing Strategy Internet Marketing YouTube Marketing Email Marketing Retargeting
SQL Microsoft Power BI Tableau Business Analysis Business Intelligence MySQL Data Analysis Data Modeling Big Data
Business Fundamentals Entrepreneurship Fundamentals Business Strategy Online Business Business Plan Startup Freelancing Blogging Home Business
Unity Game Development Fundamentals Unreal Engine C# 3D Game Development C++ 2D Game Development Unreal Engine Blueprints Blender
30-Day Money-Back Guarantee
Development Software Testing Unit Testing

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
Bestseller
Rating: 4.4 out of 54.4 (3,565 ratings)
18,594 students
Created by Mosh Hamedani
Last updated 4/2018
English
English [Auto], Indonesian [Auto], 
30-Day Money-Back Guarantee

What you'll learn

  • 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
Curated for the Udemy for Business collection

Course content

3 sections • 29 lectures • 2h 11m total length

  • What is Automated Testing
    Preview07:27
  • Preview06:04
  • Asking Questions
    00:33

  • Unit Testing Fundamentals
    Preview07:44
  • Preview03:14
  • Preview06:05
  • Working with Forms
    03:30
  • Working with Event Emitters
    02:51
  • Working with Spies
    06:56
  • Interaction Testing
    06:26
  • Working with Confirmation Boxes
    03:09
  • Limitations of Unit Tests
    01:31
  • Code Coverage
    03:30
  • Exercises
    00:34

  • Introduction
    00:44
  • The Setup Code
    04:41
  • Generating the Setup Code
    04:53
  • Testing Property and Class Bindings
    07:55
  • Testing Event Bindings
    04:59
  • Providing the Dependencies
    02:37
  • Getting the Dependencies
    05:48
  • Providing Stubs
    07:11
  • Testing the Navigation
    04:02
  • Dealing with Route Parameters
    06:33
  • Testing RouterOutlet Components
    07:05
  • Shallow Component Tests
    04:54
  • Testing Attribute Directives
    04:30
  • Dealing with Asynchronous Operations
    05:41
  • Coupons to My Other Courses
    00:20

Requirements

  • Familiarity with the fundamentals of Angular (Angular 2+)

Description

As your application grows in complexity, the cost of manual testing increases exponentially. Adding a new feature or fixing a bug may break several other places in the application, and covering all those edge cases with manual testing ends up being extremely painful and nearly impossible. 


Automated testing is a practice that has been adopted by a lot of successful software development teams over the past decade. You simply write code to test your application, and then run those tests in an automated fashion. 


Initially, your development time increases a bit because you need to write extra code to test your production code. However, that is the cost that you pay only once. Once you have those tests in place, you can run several thousands of them in just a few seconds over and over. Compare that with the time required to manually test every bit of your application! 


With automated testing, you spend less time fixing bugs and doing manual repetitive tests every time you add a new feature or fix a bug. Instead, you can spend your time doing more fun things. 


In this course, Mosh, author of several best selling courses on Udemy, takes you from the ground and gives you a solid foundation to write automated tests for your Angular apps. Whether you're an absolute beginner or have some familiarity with automated testing, this course will give you all the necessary skills to write automated tests for your Angular apps. 


You'll learn about: 

  • Automated testing concepts and tools
  • What to test and how 
  • Writing clean, maintainable and trustworthy tests that don't lie  
  • Tracking how much of your code is covered by tests 
  • Testing re-usable components
  • Testing templates
  • Testing forms
  • Testing confirmation boxes
  • Testing navigation 
  • Testing attribute directives
  • Mocking dependencies 
  • Working with asynchronous operations 


If you've taken any of Mosh's courses before, you know what you get. High quality video and audio, outstanding delivery with no mocking around. 



30-DAY FULL MONEY-BACK GUARANTEE

This course comes with a 30-day full money-back guarantee. Take the course, watch every lecture and if you feel like you haven't gained the confidence to write automated tests for your Angular apps, ask for a full refund within 30 days. All your money back, no questions asked.



ABOUT YOUR INSTRUCTOR

Mosh (Moshfegh) Hamedani is a software engineer with 15 years of professional experience. He is the author of several best-selling courses on Udemy and Pluralsight with over 74,000 students in 172 countries. His students describe him as a passionate, pragmatic and motivational instructor.


So, do you want to write automated tests for your Angular apps? 

Enroll in the course now and you'll start writing your first test in 10 minutes!


Who this course is for:

  • Developers and QA engineers who want to write automated tests for their Angular apps

Featured review

Mark Glass
Mark Glass
65 courses
30 reviews
Rating: 4.5 out of 56 months ago
I've been writing spec tests for Angular 8 not certain what I could test or how. It's been a struggle finding the correct way to set up tests and understanding why they need to be set up the way specified. This course has answered many of those questions and has given me ideas for writing more extensive tests.

Instructor

Mosh Hamedani
Passionate Software Engineer and Best-selling Author
Mosh Hamedani
  • 4.5 Instructor Rating
  • 205,954 Reviews
  • 490,984 Students
  • 20 Courses

Hi! My name is Mosh (Moshfegh) Hamedani! I'm a passionate software engineer with two decades of experience and I've taught over 3 million people who to code or how to become professional software engineers through my YouTube channel and online courses.

My goal is to make software engineering fun and accessible to everyone. That's why my courses are simple, pragmatic and free of BS.

  • Udemy for Business
  • Teach on Udemy
  • Get the app
  • About us
  • Contact us
  • Careers
  • Blog
  • Help and Support
  • Affiliate
  • Terms
  • Privacy policy
  • Cookie settings
  • Sitemap
  • Featured courses
Udemy
© 2021 Udemy, Inc.