OSDN Git Service
(root)
/
twpd
/
master.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Regular updates
[twpd/master.git]
/
saucelabs.md
1
---
2
title: Saucelabs
3
layout: 2017/sheet
4
---
5
6
### Getting started
7
8
Sign up for opensauce:
9
{: .-setup}
10
11
- http://saucelabs.com/opensauce
12
13
Install [zuul](https://npmjs.com/package/zuul):
14
15
```
16
npm i -g zuul
17
```
18
19
Configure zuul:
20
21
```yml
22
# ~/.zuulrc
23
sauce_username: me
24
sauce_key: abc12348-e3e2-...
25
```
26
27
Add `.zuul.yml` to your project:
28
29
```yml
30
# .zuul.yml
31
ui: mocha-bdd
32
browsers:
33
- name: chrome
34
version: latest
35
- name: ie
36
version: 6..latest
37
- name: firefox
38
version: latest
39
```
40
41
Try to run tests:
42
43
```
44
zuul test/test.js
45
zuul --local test/test.js
46
```