[go: up one dir, main page]

Skip to content
/ testGPT Public

TestGPT is a GitHub Action designed to execute Keploy test cases and generate detailed test reports.

License

Notifications You must be signed in to change notification settings

keploy/testGPT

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

keploy logo


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.

name: Run test-cases
on:
  push:
    branches:
      - main

jobs:
  my_job:
    runs-on: ubuntu-latest

    steps:
    - 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: .

  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