Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

alabanu/angular-testing-recipes

Open more actions menu
 
 

Repository files navigation

Angular Testing Recipes

Build Status

This repo is for Angular version 2+. More »

The goal of this repository is to have a collection of recipes for common testing scenarios with Angular. I'm happy for every contribution/suggestion 😃.

Talk (Video + Slides)

I've been giving a talk on "Testing with Angular".

Contents

All the scenarios are listed here below and nicely linked to the source file.

  1. Testing Components
  2. Testing Services
  3. Testing Pipes
  4. Custom Matchers and Utilities

Articles on Testing

Run them yourself

If you want to run the example locally,

  1. clone this repository
  2. Run npm install
  3. Run npm test to execute all the tests

By running npm run test.watch you can run the tests in watch mode which is particularly useful during development.

Contribute

Wanna help? Of course! Just open an issue and/or send me a PR 😃.

Other Links & Resources

About

Simple testing patterns for Angular version 2+

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • TypeScript 95.7%
  • JavaScript 3.6%
  • Other 0.7%
Morty Proxy This is a proxified and sanitized view of the page, visit original site.