English French German Italian Portuguese Russian Spanish

logo_old

  • Web Development Training

    InterSource offers live instructor-led courses on all important web design technologies, including Ajax, CSS, Dreamweaver, Expression, Google, HTML, JavaScript, and Web Accessibility.

    These live classes are offered both on client sites, at our Geneva training center, and via a Web interface.

  • About Web Development

    Web design is the skill of creating presentations of content (usually hypertext or hypermedia) that is delivered to an end-user through the World Wide Web, by way of a Web browser or other Web-enabled software like Internet television clients, microblogging clients and RSS readers.

    The intent of web design is to create a web site-a collection of electronic files that reside on a web server/servers and present content and interactive features/interfaces to the end user in form of Web pages once requested. Such elements as text, bit-mapped images (GIFs, JPEGs) and forms can be placed on the page using HTML/XHTML/XML tags. Displaying more complex media (vector graphics, animations, videos, sounds) requires plug-ins such as Adobe Flash, QuickTime, Java run-time environment, etc. Plug-ins are also embedded into web page by using HTML/XHTML tags.


    Read More
  • Course Details Web Development

    Classes are offered at client sites, at our Geneva training center, and via a live web conference. For detailed course outlines and scheduled classes, please see below.

    To book training, navigate to the course you need, then:

    • For scheduled online classes, register from the choices indicated.
    • If you need an alternative date, time or location, or if you want a live classroom course, click on “request an offer for this course,” to complete the form.

Angular Unit testing with Jasmine Training

PDF Print Email

Course duration

  • Custom Length

Course Benefits

  • Learn how to use both synchronous and asynchronous tests with Angular components, pipes and services.
  • Learn to write tests that include Angular routing and incorporate spies and mocks.

Course Outline

  1. Unit testing in Jasmine
    1. Software Testing
    2. Types of tests
    3. Test Pyramid
    4. Unit Tests
    5. Jasmine, Karma and Angular
    6. Jasmine
    7. Karma
    8. Basic Terminology
    9. Test Suite
    10. Spec
    11. Assertion
    12. Matchers
    13. Setup and Teardown
    14. A Test Suite
    15. Auto-Generated Angular Test Suites
    16. Run a Test
    17. Summary
  2. Jasmine Configuration
    1. Setup and Teardown
    2. Setup/Teardown Example
    3. Order of Execution
    4. Nested Test Suites
    5. Nested Test Suites Order of Execution
    6. Nested Setup/Teardown Order of Execution
    7. Custom Matchers
    8. Interface
    9. Matcher Factory
    10. Use the Matcher
    11. Run the Tests
    12. Disabling Suites and Specs
    13. The this Keyword
    14. Summary
  3. Testing - Components, Pipes and Services
    1. Testing Components
    2. Testing the Class Only
    3. Example Component
    4. Test Component Class
    5. Test Component Class Example
    6. Test Component
    7. Test Component Example
    8. TypeScript async/await
    9. Change Detection
    10. DOM Element(s)
    11. Testing Pipes
    12. Pipe Class Example
    13. Pipe Spec Example
    14. Testing Services
    15. Service Class Example
    16. Service Spec Example
    17. Expecting an Error
    18. Summary
  4. Testing – DOM, Routing and Code Coverage
    1. Testing in Angular
    2. Components
    3. Testing the DOM
    4. DOM Testing vs End-to-End Testing
    5. TestBed
    6. TestBed Use Cases
    7. Using TestBed
    8. ComponentFixture
    9. Get the Component and DOM Element
    10. Selecting DOM Elements with NativeElement
    11. Selecting DOM Elements with DebugElement
    12. Selection Examples
    13. Accessing Text
    14. Button Clicks
    15. Routing
    16. Routing Test Setup
    17. Routing Spec
    18. Code Coverage
    19. Detailed Coverage Summary
    20. Details
    21. Summary
  5. Integration Testing
    1. Integration Testing
    2. Spies
    3. Service Class Example
    4. Spec
    5. Using a Spy to Return a Fixed Value
    6. Using a Spy to Return a Dynamic Value
    7. Injection
    8. Injection Example
    9. Injection in a Test Suite
    10. Mocks
    11. Summary

Class Materials

Each student will receive a comprehensive set of materials, including course notes and all the class examples.

Class Prerequisites

Experience in the following is required for this Angular class:

  • Experience with Angular
Prerequisite Courses

Courses that can help you meet these prerequisites:

Since its founding in 1995, InterSource has been providing high quality and highly customized training solutions to clients worldwide. With over 500 course titles constantly updated and numerous course customization and creation possibilities, we have the capability to meet your I.T. training needs.
Instructor-led courses are offered via a live Web connection, at client sites throughout Europe, and at our Geneva Training Center.
Facebook TwitterGoogle BookmarksLinkedin