Skip to content

A repo with examples and exercises for Angular unit-testing techniques + CI/CD with GitHub Actions.

Notifications You must be signed in to change notification settings

athamana/ng-Testing-exercises

Repository files navigation

ng-Testing-exercises

build status

A repo with examples and exercises for Angular unit-testing techniques + CI/CD with GitHub Actions.

  • Testing Components with I/O and Change Detection
  • Testing Components with (Async) Service dependencies
  • Testing Routed Components
  • Testing Services
  • Testing DOM Interaction
  • Testing HTTP Requests
  • Testing Reactive forms
  • Testing Http Interceptors
  • Testing Route Guards
  • Testing Directives
  • Components with mock Services and Spies
  • Spies to observe function calls, produce fake errors, mock functions
  • Isolated Unit Tests
  • Shallow Integration Tests
  • Deep Integration Tests
  • Continuous Integration/Continuous Delivery pipeline with GitHub Actions
  • Deploy to Github Pages using GitHub Actions

test


This project was generated with Angular CLI version 10.0.5.

Running unit tests

Run ng test to execute the unit tests via Karma.

Development server

Run ng serve for a dev server. Navigate to http://localhost:4200/. The app will automatically reload if you change any of the source files.

Build

Run ng build to build the project. The build artifacts will be stored in the dist/ directory. Use the --prod flag for a production build.

About

A repo with examples and exercises for Angular unit-testing techniques + CI/CD with GitHub Actions.

Topics

Resources

Stars

Watchers

Forks