Setting up vscode debugger for pytest

  1. CMD+Shift+P Select a python interpreter

  1. setting.json: python.testing.pytestEnabled: true

Passing attributes to test function

Add a new filev pytest.ini in main directory.

[pytest]  
addopts = --dtype=float32,float64 --device=all

Now enjoy it!

Or of course you can run test in termial

pytest -s tests/geometry/epipolar/test_triangulation.py::TestSomeClass::test_some_ function--dtype=float32,float64 --device=all