Testing Angular Apps

Angular 2    |    Intermediate
  • 12 videos | 1h 1m 32s
  • Includes Assessment
  • Earns a Badge
Rating 4.6 of 18 users Rating 4.6 of 18 users (18)
When developing apps, testing is always an important part of the process. Discover how to create Angular testing modules and test components in your Angular apps.

WHAT YOU WILL LEARN

  • Create an angular testing module using testbed
    Test custom components you create
    Use the detectchanges method effectively in angular 2 testing
    Set up async compilation for components that use external templates and stylesheets
    Set up test stubs that can be used when components depend on services
    Test custom components that depend on services with async functionality
  • Test custom components that are decorated with inputs and outputs
    Test components that are embedded in other components
    Test components that make use of angular routes
    Test components while ignoring template elements that are irrelevant to those tests
    Test custom attribute directives you create
    Create and execute unit tests to verify expected functionality in an angular app

IN THIS COURSE

  • 2m 53s
    In this video, learn how to create a testing module for Angular using Testbed. FREE ACCESS
  • 5m 51s
    In this video, you will test the custom components you create. FREE ACCESS
  • Locked
    3.  Testing and Change Detection
    3m 42s
    In this video, learn how to use the detectChanges method effectively in Angular 2 testing. FREE ACCESS
  • Locked
    4.  Testing Components with External Resources
    4m 20s
    In this video, find out how to set up async compilation for components that use external templates and stylesheets. FREE ACCESS
  • Locked
    5.  Testing Components with Service Dependencies
    5m 48s
    In this video, find out how to set up test stubs that can be used when components depend on services. FREE ACCESS
  • Locked
    6.  Testing Components with Async Services
    8m 37s
    In this video, find out how to test custom components that depend on services with asynchronous functionality. FREE ACCESS
  • Locked
    7.  Testing Components that Have Inputs and Outputs
    6m 56s
    In this video, learn how to test custom components that have inputs and outputs. FREE ACCESS
  • Locked
    8.  Testing Components in Hosted Components
    5m 17s
    In this video, you will learn how to test components that are embedded in other components. FREE ACCESS
  • Locked
    9.  Testing Components with Routes
    4m 59s
    In this video, find out how to test components that use Angular routes. FREE ACCESS
  • Locked
    10.  Using NO_ERRORS_SCHEMA
    3m 13s
    In this video, learn how to test components while ignoring template elements that are not relevant to those tests. FREE ACCESS
  • Locked
    11.  Testing Attribute Directives
    5m 49s
    In this video, find out how to test the custom attribute directives you create. FREE ACCESS
  • Locked
    12.  Exercise: Testing an Angular Component
    4m 6s
    In this video, you will learn how to create and execute unit tests to verify expected functionality in an Angular app. FREE ACCESS

EARN A DIGITAL BADGE WHEN YOU COMPLETE THIS COURSE

Skillsoft is providing you the opportunity to earn a digital badge upon successful completion on some of our courses, which can be shared on any social network or business platform.

Digital badges are yours to keep, forever.

YOU MIGHT ALSO LIKE

Rating 5.0 of 1 users Rating 5.0 of 1 users (1)
Rating 4.5 of 73 users Rating 4.5 of 73 users (73)

PEOPLE WHO VIEWED THIS ALSO VIEWED THESE

Rating 5.0 of 2 users Rating 5.0 of 2 users (2)
Rating 4.5 of 22 users Rating 4.5 of 22 users (22)
Rating 3.7 of 53 users Rating 3.7 of 53 users (53)