-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
27 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
# Running the tests locally | ||
|
||
Go to the folder of the SDK and build the container image using Docker. | ||
|
||
```sh | ||
docker build -t __SDK_IMAGE_NAME__ . | ||
``` | ||
|
||
Go to tests folder and install the dependencies | ||
|
||
```sh | ||
npm ci | ||
``` | ||
|
||
Set the required environment variables | ||
|
||
```sh | ||
export SAUCE_USERNAME=__YOUR_SAUCE_USERNAME__ | ||
export SAUCE_ACCESS_KEY=__YOUR_SAUCE_ACCESS_KEY__ | ||
export CONTAINER_IMAGE_NAME=__SDK_IMAGE_NAME__ | ||
``` | ||
|
||
Run the tests | ||
|
||
```sh | ||
npm run test | ||
``` |