Files
angular-challenges/README.test.md

3.0 KiB

Collection of Angular TESTING challenges


Intro

This project has been created with two purposes:

  • The first purpose is to assist you in becoming better at Testing using Testing Library and Cypress Component Testing. 💪
  • The second purpose is to share best practices and different implementations of the same problem to gain diverse perspectives. 📖

Thanks to all these challenges, you will learn how to create Integration Tests to test your UI. The goal is to test your component/application as a black box, just as an end user or developer would do.

Learning by reading is good but learning by doing is better.

Testing Challenges

Click the following badges to join your next challenge.

Easy challenge Easy challenge Easy challenge

testing

router outlet TestingTesting a small application with a router nested component Testing Testing a parent component with Child components input output TestingTesting a presentational component by setting Inputs and listening to the Outputs modal TestingTesting a modal harness TestingTesting using Component Harnesses Create harnessCreating a custom Component Harness and Testing your application by using this harness Test a simple checkboxTesting a very simple checkbox Test a real applicationTesting a real-life application by creating test double on Http request and handling all asynchronous part