Skip to content

jeremyschiemann/pytest-codegen

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pytest-codegen

Pytest-codgen will statically analyze your code to create pytest function stubs.

Built with redbaron, typer and jinja2.

Goal

First working version

Future Goals

  • Create templates for tests
  • More customization

Disclaimer

This tool is currently in pre-alpha/experimental phase. Usable version will be ^0.1.x

Installation

pip install pytest-codegen

Usage

Check the supported commands with

pytest-codegen --help

or if you are lazy like me

ptc --help

Suggestions & Contribution

Every suggestion and contribution is welcome!

Set everything up with poetry and you are good to go :)

pip install poetry
poetry install

Ressources

License

This project is licensed under the terms of the MIT license.

About

Create pytest function automatically without implementation

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages