@pipedream/testmo 0.2.0 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +11 -0
- package/actions/append-to-automation-run/append-to-automation-run.mjs +6 -1
- package/actions/append-to-thread/append-to-thread.mjs +6 -1
- package/actions/create-automation-run/create-automation-run.mjs +6 -1
- package/actions/list-automation-runs/list-automation-runs.mjs +6 -1
- package/actions/list-project-id-options/list-project-id-options.mjs +33 -0
- package/actions/list-project-sessions/list-project-sessions.mjs +6 -1
- package/package.json +2 -2
package/README.md
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
# Overview
|
|
2
|
+
|
|
3
|
+
The Testmo API enables automation and integration of your testing workflows into the broader CI/CD pipeline. With Pipedream, you can use this API to trigger tests, update test cases, log results, and sync status with other project management tools. By creating custom serverless workflows on Pipedream, you can connect Testmo to various apps, manage test lifecycles, and respond to events from other services in real-time.
|
|
4
|
+
|
|
5
|
+
# Example Use Cases
|
|
6
|
+
|
|
7
|
+
- **Trigger Test Runs After Code Commits**: When a new commit is pushed to a repository in GitHub, use a Pipedream workflow to automatically trigger a series of test cases in Testmo. This ensures that new code is tested immediately, keeping your deployment pipeline efficient.
|
|
8
|
+
|
|
9
|
+
- **Sync Test Results with Project Management Tools**: After tests are completed in Testmo, send the results to a project management tool like Jira or Asana. Use a Pipedream workflow to create or update issues based on the test outcomes, keeping your team in sync with the latest testing status.
|
|
10
|
+
|
|
11
|
+
- **Aggregate Test Reports for Analytics**: Collect test results from Testmo and send them to a data visualization tool like Google Sheets or Data Studio. With a Pipedream workflow, you can create custom dashboards or reports that provide insights into your testing process and help identify areas for improvement.
|
|
@@ -4,7 +4,12 @@ import constants from "../../common/constants.mjs";
|
|
|
4
4
|
export default {
|
|
5
5
|
key: "testmo-append-to-automation-run",
|
|
6
6
|
name: "Append to Automation Run",
|
|
7
|
-
version: "0.0.
|
|
7
|
+
version: "0.0.2",
|
|
8
|
+
annotations: {
|
|
9
|
+
destructiveHint: false,
|
|
10
|
+
openWorldHint: true,
|
|
11
|
+
readOnlyHint: false,
|
|
12
|
+
},
|
|
8
13
|
description: "Appends test artifacts, fields or links to an existing automation run. [See the documentation](https://docs.testmo.com/api/reference/automation-runs#post-automation-runs-automation_run_id-append)",
|
|
9
14
|
type: "action",
|
|
10
15
|
props: {
|
|
@@ -4,7 +4,12 @@ import constants from "../../common/constants.mjs";
|
|
|
4
4
|
export default {
|
|
5
5
|
key: "testmo-append-to-thread",
|
|
6
6
|
name: "Append to Thread in Automation Run",
|
|
7
|
-
version: "0.0.
|
|
7
|
+
version: "0.0.2",
|
|
8
|
+
annotations: {
|
|
9
|
+
destructiveHint: false,
|
|
10
|
+
openWorldHint: true,
|
|
11
|
+
readOnlyHint: false,
|
|
12
|
+
},
|
|
8
13
|
description: "Appends test artifacts, fields or test results to an existing thread in an automation run. [See the documentation](https://docs.testmo.com/api/reference/automation-runs#post-automation-runs-threads-automation_run_thread_id-append)",
|
|
9
14
|
type: "action",
|
|
10
15
|
props: {
|
|
@@ -4,7 +4,12 @@ import testmo from "../../testmo.app.mjs";
|
|
|
4
4
|
export default {
|
|
5
5
|
key: "testmo-create-automation-run",
|
|
6
6
|
name: "Create Automation Run",
|
|
7
|
-
version: "0.0.
|
|
7
|
+
version: "0.0.3",
|
|
8
|
+
annotations: {
|
|
9
|
+
destructiveHint: false,
|
|
10
|
+
openWorldHint: true,
|
|
11
|
+
readOnlyHint: false,
|
|
12
|
+
},
|
|
8
13
|
description: "Creates a new automation run in a target project in preparation for adding threads and test results. [See the documentation](https://docs.testmo.com/api/reference/automation-runs#post-projects-project_id-automation-runs)",
|
|
9
14
|
type: "action",
|
|
10
15
|
props: {
|
|
@@ -3,7 +3,12 @@ import testmo from "../../testmo.app.mjs";
|
|
|
3
3
|
export default {
|
|
4
4
|
key: "testmo-list-automation-runs",
|
|
5
5
|
name: "List Automation Runs",
|
|
6
|
-
version: "0.0.
|
|
6
|
+
version: "0.0.3",
|
|
7
|
+
annotations: {
|
|
8
|
+
destructiveHint: false,
|
|
9
|
+
openWorldHint: true,
|
|
10
|
+
readOnlyHint: true,
|
|
11
|
+
},
|
|
7
12
|
description: "List all automation runs for a project. [See the documentation](https://docs.testmo.com/api/reference/automation-runs#get-projects-project_id-automation-runs)",
|
|
8
13
|
type: "action",
|
|
9
14
|
props: {
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import testmo from "../../testmo.app.mjs";
|
|
2
|
+
|
|
3
|
+
export default {
|
|
4
|
+
key: "testmo-list-project-id-options",
|
|
5
|
+
name: "List Project ID Options",
|
|
6
|
+
description: "Retrieves available options for the Project ID field.",
|
|
7
|
+
version: "0.0.1",
|
|
8
|
+
type: "action",
|
|
9
|
+
annotations: {
|
|
10
|
+
destructiveHint: false,
|
|
11
|
+
openWorldHint: true,
|
|
12
|
+
readOnlyHint: true,
|
|
13
|
+
},
|
|
14
|
+
props: {
|
|
15
|
+
testmo,
|
|
16
|
+
page: {
|
|
17
|
+
type: "integer",
|
|
18
|
+
label: "Page",
|
|
19
|
+
description: "The page of results to retrieve.",
|
|
20
|
+
min: 0,
|
|
21
|
+
default: 0,
|
|
22
|
+
},
|
|
23
|
+
},
|
|
24
|
+
async run({ $ }) {
|
|
25
|
+
const options = await testmo.propDefinitions.projectId.options.call(this.testmo, {
|
|
26
|
+
page: this.page,
|
|
27
|
+
});
|
|
28
|
+
$.export("$summary", `Successfully retrieved ${options.length} option${options.length === 1
|
|
29
|
+
? ""
|
|
30
|
+
: "s"}`);
|
|
31
|
+
return options;
|
|
32
|
+
},
|
|
33
|
+
};
|
|
@@ -3,7 +3,12 @@ import testmo from "../../testmo.app.mjs";
|
|
|
3
3
|
export default {
|
|
4
4
|
key: "testmo-list-project-sessions",
|
|
5
5
|
name: "List Project Sessions",
|
|
6
|
-
version: "0.0.
|
|
6
|
+
version: "0.0.2",
|
|
7
|
+
annotations: {
|
|
8
|
+
destructiveHint: false,
|
|
9
|
+
openWorldHint: true,
|
|
10
|
+
readOnlyHint: true,
|
|
11
|
+
},
|
|
7
12
|
description: "List all sessions for a project. [See the documentation](https://docs.testmo.com/api/reference/sessions#get-projects-project_id-sessions)",
|
|
8
13
|
type: "action",
|
|
9
14
|
props: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pipedream/testmo",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.3.0",
|
|
4
4
|
"description": "Pipedream Testmo Components",
|
|
5
5
|
"main": "testmo.app.mjs",
|
|
6
6
|
"keywords": [
|
|
@@ -13,6 +13,6 @@
|
|
|
13
13
|
"access": "public"
|
|
14
14
|
},
|
|
15
15
|
"dependencies": {
|
|
16
|
-
"@pipedream/platform": "^1.
|
|
16
|
+
"@pipedream/platform": "^1.6.8"
|
|
17
17
|
}
|
|
18
18
|
}
|