A comprehensive collection of Angular unit testing examples and best practices.
npm install angular11-testing-examples
Import the components and services you want to test in your Angular application:
import { ComputeService } from 'angular11-testing-examples';
- Comprehensive examples of Angular unit testing
- Best practices for testing components, services, and directives
- Integration testing examples
- Code coverage best practices
For detailed documentation and examples, please refer to the unit testing styleguide.
We welcome contributions! Please read our contribution guidelines before submitting pull requests.
This project is licensed under the MIT License - see the LICENSE file for details.
The code used in this project is mainly introduced by Mosh Hamedani in his Udemy course on Testing Angular 4 Apps With Jasmine.