Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/keploy/testgpt
TestGPT is a GitHub Action designed to execute Keploy test cases and generate detailed test reports.
https://github.com/keploy/testgpt
cicd e2e-testing github-actions go java javascript python python3 shell test-automation test-runner test-suites testgpt testing testing-automation testing-tools typescript
Last synced: 2 months ago
JSON representation
TestGPT is a GitHub Action designed to execute Keploy test cases and generate detailed test reports.
- Host: GitHub
- URL: https://github.com/keploy/testgpt
- Owner: keploy
- License: mit
- Created: 2023-11-06T06:56:07.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-11-15T06:30:02.000Z (2 months ago)
- Last Synced: 2024-11-15T07:26:30.367Z (2 months ago)
- Topics: cicd, e2e-testing, github-actions, go, java, javascript, python, python3, shell, test-automation, test-runner, test-suites, testgpt, testing, testing-automation, testing-tools, typescript
- Language: Shell
- Homepage: https://github.com/marketplace/actions/keploy-testrun-report
- Size: 159 KB
- Stars: 5
- Watchers: 1
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Overview
It allow users to utilize Keploy's features in test-mode.## Usage
Enviormental Varibales needed : -
`working-directory` :- Path where the main code and pkg is present.
`delay` :- is optional, it is the time taken by the application to get started.
`command` :- Command to run the application.
`keploy-path` :- Path where Keploy folder is present.Right Now languages such as :- `Go`,`Java`,`NodeJS` & `Python` are supported.
```yaml
name: Run test-cases
on:
push:
branches:
- mainjobs:
my_job:
runs-on: ubuntu-lateststeps:
- name: Keploy Report
uses: keploy/testgpt@main
with:
working-directory: /
delay: 10
command: node src/app.js
keploy-path: ./
```### Test summary on PR
Before merging PR, `keploy/testgpt@main` would let you in advance whether the test-cases are passing or not. We just need to add the below code on the `job_on:` .
```yml
pull_request:
branches:
- main
```The test-cases will be visible on both the github_action logs as well as on the PR as the comment, which allows maintainer and contributor to know beforehand if there are fix associated with the PR
![Keploy PR Comment](image.png?raw=true)