Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JavaScript 测试 #118

Open
voidove opened this issue Jan 24, 2017 · 0 comments
Open

JavaScript 测试 #118

voidove opened this issue Jan 24, 2017 · 0 comments
Assignees

Comments

@voidove
Copy link
Owner

voidove commented Jan 24, 2017

Jasmine

Jasmine is a behavior-driven development framework for testing JavaScript code. It does not depend on any other JavaScript frameworks. It does not require a DOM. And it has a clean, obvious syntax so that you can easily write tests.

Jasmine 是一个行为驱动开发的 JS 测试框架。

TDD和BDD的对比

karma

Karma - a test runner

Karma 是 Google 出品的测试任务管理工具,具有以下优点:

  1. 可以和常用的测试框架集成,默认是Jasmine
  2. 可以跨浏览器测试

selenium

Selenium 中文文档

Protractor

Reference

聊一聊前端自动化测试

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant