[pytest-dev] hook to obtain parameters for parametrized test
Ilya Kazakevich
ilya.kazakevich at jetbrains.com
Tue May 15 18:15:52 EDT 2018
Hello.
I write plugin for pytest, and I need to obtain parameters
for test decorated with @parametrize before this test is actually called.
There is a ``pytest_runtest_logstart``, but it does not provide information
about parameters. There is ``pytest_runtest_setup`` but it is called
too late.
I belive ``runner.py`` (line 58) may provide this info to
``pytest_runtest_logstart``, but it does not.
Is there any way to get information about test parameters before pytest
launches it?
Ilya.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/pytest-dev/attachments/20180516/03000464/attachment.html>
More information about the pytest-dev
mailing list