Skip to content

UTBot code analysis

Actions
UTBot code analysis allows adding tests and code analysis information by pull request
test-1.0.21
Latest
Star (0)

Utbot Action

You can use this GitHub Action to create pull requests tests and code analysis info to your repository

Content

Inputs

All inputs are required add_tests, refresh_tests, tests_scope, scope_path

Name Type Description Required
add_tests 'true' / 'false' Add tests to pull request Yes
refresh_tests 'true' / 'false' Delete old tests in pull request Yes
utbot_version xxxx.xx[.xx] UTBot version to run Yes
scope project / directory / file Testing scope Yes
path Realtive path string directory or file path No for the project, Yes for the rest

Installation

  • Settings > Actions > Allow GitHub Actions to create and approve pull requests
  • permissions: write-all line at action before using Utbot Action

Examples

on:
  workflow_dispatch:
    
jobs:
  build:
    runs-on: ubuntu-latest
    permissions: write-all
    steps:
    - name: UTBot code analysis
      uses: slawa4s/[email protected]
      with:
        add_tests: 'true'
        refresh_tests: 'false'
        utbot_version: '2022.06.13'
        scope: 'project'

UTBot code analysis is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.

About

UTBot code analysis allows adding tests and code analysis information by pull request
test-1.0.21
Latest

UTBot code analysis is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.