Course Outline
Introduction
- Understanding Unit Testing
Overview of Typescript Unit Test Frameworks
- Jasmine, Mocha, Jest, Chai
- Unit test uses cases
Setting up the Testing Environment
- Downloading and installing the libraries
- Installing and configuring an IDE
- Setting up a sample application
Overview of Typescript
- Typescript vs Javascript and other languages
- Understanding Typescript syntax and features
Writing Your First Unit Test
- Setting up a test
- Writing a test definition
- Working with nested scoping
- Creating assertions
- Running the unit test
Debugging the unit test
- Stepping through the code
- Creating breakpoints
- Setting up debug tasks
Expanding the Unit Test
- Writing a complex Typescript class
- Writing stubs and mocks
- Creating a Test Suite
Writing More Tests
- Testing Node.js
- HTTP endpoint unit tests
- Testing a REST APIs
- Writing an integration test
- Testing React components (optional)
Troubleshooting
Summary and Conclusion
Requirements
- An understanding of software testing concepts
- Javascript or Typescript programming experience
- An understanding of NodeJs
Audience
- Developers
Delivery Options
Private Group Training
Our identity is rooted in delivering exactly what our clients need.
- Pre-course call with your trainer
- Customisation of the learning experience to achieve your goals -
- Bespoke outlines
- Practical hands-on exercises containing data / scenarios recognisable to the learners
- Training scheduled on a date of your choice
- Delivered online, onsite/classroom or hybrid by experts sharing real world experience
Private Group Prices RRP from €4560 online delivery, based on a group of 2 delegates, €1440 per additional delegate (excludes any certification / exam costs). We recommend a maximum group size of 12 for most learning events.
Contact us for an exact quote and to hear our latest promotions
Public Training
Please see our public courses
Testimonials (2)
Technical knowledge
Mohamed Shifan - Maldives Pension Administration Office (Pension Office)
Course - Typescript Unit Testing
Provided with nestjs even though it was not on the agenda