Skip to content

Run Kaizen Unit Tests

Actions
Runs unit tests generated by Kaizen for Python, JavaScript, TypeScript, and React
v1.0.9
Latest
Star (1)

Kaizen Unit Test Runner

This GitHub Action runs unit tests generated by Kaizen for Python, JavaScript, TypeScript, and React projects.

Usage

steps:
- uses: actions/checkout@v2
- name: Run Kaizen unit tests
  uses: Cloud-Code-AI/[email protected]
  with:
    python-version: '3.x'  # optional, default is '3.x'

Inputs

  • python-version: The version of Python to use (default: '3.x')

Note: This action uses the latest version of Node.js by default.

How it works

This action uses the kaizen-cli to run Python unit tests located in the .kaizen/unittests directory. For JavaScript, TypeScript, and React projects, it uses the following test runners:

  • JavaScript and TypeScript tests are run using jest
  • React tests are run using react-scripts test

The action supports both poetry and requirements.txt for Python projects.

License

This project is licensed under the MIT License.

Run Kaizen Unit Tests 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

Runs unit tests generated by Kaizen for Python, JavaScript, TypeScript, and React
v1.0.9
Latest

Run Kaizen Unit Tests 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.