Skip to content
项目

juristr/angular-testing-recipes

在 GitHub 查看

关于

适用于 Angular 2 及更高版本的简易测试模式

网站与应用开发

这些数字如何统计

实测星标增长

24小时
0
7天
0
15天
-1
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

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

探索相关项目

加载中…