Count how many tests each module has via pytest

python -m pytest --co -q | grep "::" | awk -F'::' '{print $1}' | uniq -c

Leave a Reply

Your email address will not be published. Required fields are marked *