brian-learns/testafize

boot strap a new project or migrate an old one into modern uv setup with tests

0

stars

8

commits

Makefile

primary language

Sep 6, 2026

updated

pytest
uv

README

testafize

boot strap a new project or migrate an old one into modern uv setup with tests

Prerequsites

install uv

Initialize Test Suite

New Project

mkdir newproject
cd newproject/
wget -q https://raw.githubusercontent.com/brian-learns/testafize/main/Makefile
make init
curl https://raw.githubusercontent.com/brian-learns/testafize/main/pyproject_tool.toml >> pyproject.toml

Then you will have stub python project set up with uv and static tests installed.

$ uv run newproject
Hello from newproject!
$ tree -a -I .venv/ -I .git/
.
├── .gitignore
├── Makefile
├── pyproject.toml
├── .python-version
├── README.md
├── src
│   └── newproject
│       └── __init__.py
└── uv.lock

3 directories, 7 files

Then you can run

make check

to run the static tests. There is also a stub to run pytest.

make test # will fail because there are no tests yet

Existing Project

wget -q https://raw.githubusercontent.com/brian-learns/testafize/main/Makefile
make init
make check

Analysis and Linting

You can uncomment interrogate to check for docstring coverage, but the uv init stubs don't pass this

Contributors

brian-learns

8 commits

brian-learns/testafize

boot strap a new project or migrate an old one into modern uv setup with tests

0

stars

8

commits

Makefile

primary language

Sep 6, 2026

updated

pytest
uv

README

testafize

boot strap a new project or migrate an old one into modern uv setup with tests

Prerequsites

install uv

Initialize Test Suite

New Project

mkdir newproject
cd newproject/
wget -q https://raw.githubusercontent.com/brian-learns/testafize/main/Makefile
make init
curl https://raw.githubusercontent.com/brian-learns/testafize/main/pyproject_tool.toml >> pyproject.toml

Then you will have stub python project set up with uv and static tests installed.

$ uv run newproject
Hello from newproject!
$ tree -a -I .venv/ -I .git/
.
├── .gitignore
├── Makefile
├── pyproject.toml
├── .python-version
├── README.md
├── src
│   └── newproject
│       └── __init__.py
└── uv.lock

3 directories, 7 files

Then you can run

make check

to run the static tests. There is also a stub to run pytest.

make test # will fail because there are no tests yet

Existing Project

wget -q https://raw.githubusercontent.com/brian-learns/testafize/main/Makefile
make init
make check

Analysis and Linting

You can uncomment interrogate to check for docstring coverage, but the uv init stubs don't pass this

Contributors

brian-learns

8 commits

Languages

Makefile

59.6%

Shell

40.4%