TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Show HN: Pytesttui, a Simple TUI for Pytest

2 pointsby prevent66723 months ago
I came to work on this, because I missed an easy, simple and quick way to run pytests. There are alternatives like in VSCode extensions and Jetbrains products, but in my opinion they miss the simplicity and convenience of a terminal UI.<p>`pytesttui` runs in your terminal and allows you to run a pytest by browsing your tree of tests. Right now it&#x27;s in an early stage, so all it does is run your test. It scaled in the repository I use at work which contains about 500 tests. I created a proof of concept so I can share it quickly, which is why I used aider for coding almost all of it.<p>I only tested it on MacOS (silicon), but if you&#x27;d like to try it, then visit my github page and download the release. Extract the files and place it in a PATH location like ~&#x2F;.local&#x2F;bin. You will probaby have to accept a security warning by MacOS, which is done by browsing to the &quot;Privacy &amp; Security&quot; tab in settings and clicking on &quot;Allow anyway&quot; after running it. Make sure `pytest` is also accessible in a PATH location or installed using pip.<p>Feel free to email me: ajsverbeek at proton dot me.

no comments

no comments