Skip to content

Commit c9072ca

Browse files
authored
Merge pull request #3 from MukulGupta1/patch-1
Updated documentation for TestEm
2 parents e471e9d + 1ac64a6 commit c9072ca

1 file changed

Lines changed: 23 additions & 9 deletions

File tree

README.md

Lines changed: 23 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,29 @@
11
# testem-browserstack
2-
32
[Testem](https://github.com/testem/testem) Integration with BrowserStack.
43

5-
## Setup
4+
![BrowserStack Logo](https://d98b8t1nnulk5.cloudfront.net/production/images/layout/logo-header.png?1469004780)
65

7-
- Clone the repo
8-
- Install dependencies `npm install`
9-
- Update `testem.json` file with your BrowserStack Username and Access Key. (These can be found in the [settings](https://www.browserstack.com/accounts/settings) section on BrowserStack accounts page)
10-
- Alternatively, you can export the environment variables for the Username and Access Key of your BrowserStack account. `export BROWSERSTACK_USERNAME=<browserstack-username> && export BROWSERSTACK_ACCESS_KEY=<browserstack-access-key>`
6+
## Setup
7+
* Clone the repo
8+
* Install dependencies `npm install`
9+
* Update `testem.json` file with your [BrowserStack Username and Access Key](https://www.browserstack.com/accounts/settings)
1110

12-
### Run the tests
11+
## Running yourtests
12+
* To run a single test, run `npm run single`
13+
* To run parallel tests, run `npm run parallel`
1314

14-
- To run single test, run `npm run single`
15-
- To run parallel tests, run `npm run parallel`
15+
## Notes
16+
* You can view your test results on the [BrowserStack automate dashboard](https://www.browserstack.com/automate)
17+
* To test on a different set of browsers, check out our [platform configurator](https://www.browserstack.com/automate/node#setting-os-and-browser)
18+
* You can export the environment variables for the Username and Access Key of your BrowserStack account
19+
20+
```
21+
export BROWSERSTACK_USERNAME=<browserstack-username> &&
22+
export BROWSERSTACK_ACCESS_KEY=<browserstack-access-key>
23+
```
24+
25+
## Additional Resources
26+
* [Customizing your tests on BrowserStack](https://www.browserstack.com/automate/capabilities)
27+
* [Browsers & mobile devices for JavaScript testing on BrowserStack](https://www.browserstack.com/list-of-browsers-and-platforms?product=js_testing)
28+
* [Using REST API to access information about your tests via the command-line interface](https://www.browserstack.com/automate/rest-api)
29+

0 commit comments

Comments
 (0)