Need help with angular-testing-recipes?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

juristr
471 Stars 105 Forks 69 Commits 15 Opened issues

Description

Simple testing patterns for Angular version 2+

Services available

!
?

Need anything else?

Contributors list

# 15,770
TypeScr...
cypress
nx
primeng
64 commits
# 43,489
jasmine
Angular
Go
Groovy
2 commits
# 464,499
CSS
jasmine
Angular
JavaScr...
1 commit
# 450,243
CSS
jasmine
Angular
JavaScr...
1 commit
# 40,922
Angular
TypeScr...
C#
oauth2
1 commit

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 :smiley:.

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 :smiley:.

Other Links & Resources

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.