docs(angular): update testing angular apps content (#6950)

pull/6977/head
J. Degand 2 months ago committed by GitHub
parent 419442cac9
commit 1057b89fa0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 12
      src/data/roadmaps/angular/content/testing@lLa-OnHV6GzkNFZu29BIT.md

@ -1,3 +1,13 @@
# Testing Angular Apps
In any software development process, Testing the application plays a vital role. If Bugs and crashes are not figured out and solved they can defame the development company as well as hurt the clients too. But, Angular’s architecture comes with built-in testability features. As soon as you create a new project with Angular CLI, two essential testing tools are installed.They are: Jasmine and Karma. Jasmine is the testing library which structures individual tests into specifications (“specs”) and suites. And Karma is the test runner, which enables the different browsers to run the tests mentioned by Jasmine and the browsers will finally report the test results back.
In any software development process, testing the application plays a vital role. If bugs and crashes are not figured out and solved they can defame the development company as well as hurt the clients too. But, Angular’s architecture comes with built-in testability features. As soon as you create a new project with Angular CLI, two essential testing tools are installed. They are: Jasmine and Karma. Jasmine is the testing library which structures individual tests into specifications (“specs”) and suites. And Karma is the test runner, which enables the different browsers to run the tests mentioned by Jasmine and the browsers will finally report the test results back.
You can also unit test an Angular application with other testing libraries and test runners. Each library and runner has its own distinctive installation procedures, configuration, and syntax.
Visit the following resources to learn more:
- [@official@Angular Official Docs - Testing](https://angular.dev/guide/testing)
- [@official@Jasmine Official Docs](https://jasmine.github.io/)
- [@official@Karma Official Docs](https://karma-runner.github.io/latest/index.html)
- [@article@Testing Angular - A Guide to Robust Angular Applications](https://testing-angular.com/)
- [@video@Introduction | Angular Unit Testing Made Easy: A Comprehensive Introduction](https://www.youtube.com/watch?v=emnwsVy8wRs)
Loading…
Cancel
Save