Skip to content

Commit 0dcf2cd

Browse files
initial commit
0 parents  commit 0dcf2cd

26 files changed

+10443
-0
lines changed

.eslintignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
dist/

.eslintrc

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
{
2+
"root": true,
3+
"env": {
4+
"es2022": true,
5+
"node": true,
6+
"jest/globals": true
7+
},
8+
"extends": [
9+
"eslint:recommended",
10+
"plugin:@typescript-eslint/recommended",
11+
"plugin:prettier/recommended"
12+
],
13+
"plugins": [
14+
"jest",
15+
"@typescript-eslint"
16+
],
17+
"parser": "@typescript-eslint/parser",
18+
"rules": {
19+
}
20+
}

.github/workflows/test.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: Run Tests
2+
3+
on: [push]
4+
5+
jobs:
6+
test:
7+
runs-on: ubuntu-latest
8+
9+
strategy:
10+
matrix:
11+
node-version: [18, 20, 22, 'lts/*']
12+
13+
steps:
14+
- uses: actions/checkout@v2
15+
- name: Set up Node.js
16+
uses: actions/setup-node@v2
17+
with:
18+
node-version: ${{ matrix.node-version }}
19+
- run: npm ci
20+
- run: npm run test

.gitignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
!jest.config.js
2+
dist
3+
coverage
4+
node_modules
5+
.DS_Store

.nvmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
v20

.prettierignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
dist/

.prettierrc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"singleQuote": true
3+
}

.release-it.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"github": {
3+
"release": true,
4+
"draft": true,
5+
"releaseNotes": "git log --no-merges --pretty=format:\"* %s %h\" ${latestTag}...main"
6+
}
7+
}

LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) TestingBot
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

README.md

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
# TestingBot CLI
2+
3+
TestingBot CLI is a command-line interface to run tests with Espresso, XCUITest and Maestro on TestingBot.
4+
5+
## Features
6+
7+
- Run Espresso tests on TestingBot
8+
- Run XCUITest tests on TestingBot
9+
- Run Maestro tests on TestingBot
10+
11+
## Installation
12+
13+
To install TestingBot CLI, use the following command:
14+
15+
```sh
16+
npm install -g testingbotctl
17+
```
18+
19+
## Usage
20+
21+
Here are some example commands to get you started:
22+
23+
### Run Espresso Tests
24+
25+
```sh
26+
testingbotctl run espresso --app your-app.apk --test your-test.apk
27+
```
28+
29+
### Run XCUITest Tests
30+
31+
```sh
32+
testingbotctl run xcuitest --app your-app.ipa --test your-test.zip
33+
```
34+
35+
### Run Maestro Tests
36+
37+
```sh
38+
testingbotctl run maestro --app your-app.apk --test your-test.yaml
39+
```
40+
41+
## Contributing
42+
43+
Contributions are welcome! Please open an issue or submit a pull request on GitHub.
44+
45+
## License
46+
47+
This project is licensed under the MIT License.

0 commit comments

Comments
 (0)