aeye-lab / pymovements

A python package for processing eye movement data
https://pymovements.readthedocs.io
MIT License
57 stars 11 forks source link

run tox with subset of tests #683

Closed SiQube closed 4 months ago

SiQube commented 4 months ago

Current Behavior

the CONTRIBUTING.md mentions:

tox -e py39 tests/events

firstly, tests/events is deprecated secondly, for me only tox -e py39 -- tests/... is working not tox -e py39 tests/...

Expected Behavior

tox running only specified tests

Minimum acceptance criteria

tox running only specified tests

Failure Information (for bugs)

tox not running

(venv) c-cube@ubuntu:~/lab/pymovements$ tox -e py310 tests/unit/

usage: tox [-h] [--colored {yes,no}] [-v | -q] [--exit-and-dump-after seconds] [-c file] [--workdir dir] [--root dir] [--runner {virtualenv}] [--version] [--no-provision [REQ_JSON]] [--no-recreate-provision] [-r] [-x OVERRIDE]

           {run,r,run-parallel,p,depends,de,list,l,devenv,d,config,c,quickstart,q,exec,e,legacy,le} ...

tox: error: unrecognized arguments: tests/unit/

hint: if you tried to pass arguments to a command use -- to separate them from tox ones

Steps to Reproduce

tox -e py310 tests/unit/

Context

Please provide any relevant information about your setup. This is important in case the issue is not reproducible except for under certain conditions.

Failure Logs

(venv) c-cube@ubuntu:~/lab/pymovements$ tox -e py310 tests/unit/

usage: tox [-h] [--colored {yes,no}] [-v | -q] [--exit-and-dump-after seconds] [-c file] [--workdir dir] [--root dir] [--runner {virtualenv}] [--version] [--no-provision [REQ_JSON]] [--no-recreate-provision] [-r] [-x OVERRIDE]

           {run,r,run-parallel,p,depends,de,list,l,devenv,d,config,c,quickstart,q,exec,e,legacy,le} ...

tox: error: unrecognized arguments: tests/unit/

hint: if you tried to pass arguments to a command use -- to separate them from tox ones

Checklist

SiQube commented 4 months ago

I can provide a pull requests to improve CONTRIBUTING.md