gauge-sh / tach

A Python tool to enforce dependencies, using modular architecture 🌎 Open source 🐍 Installable via pip πŸ”§ Able to be adopted incrementally - ⚑ Implemented with no runtime impact ♾️ Interoperable with your existing systems πŸ¦€ Written in rust
https://gauge.sh
MIT License
953 stars 33 forks source link

tach test should exit with zero when no tests run #191

Closed emdoyle closed 1 month ago

emdoyle commented 1 month ago

Fixes #171

Reference from pytest: https://github.com/pytest-dev/pytest/pull/817

This simply checks if the exit code from pytest indicates no tests were collected, and changes our exit code to success.