Hi Son Son,

On Wed, Jan 25, 2017 at 18:00 -0800, Son Son wrote:
>     addplugins = [myplugin1,myplugin2,myplugin3,myplugin4,myplugin5]

If you register like this then i think pytest will call pytest_runtest_setup
first from myplugin5, then myplugin4 etc.  In other words, the order
of registration determines a reverse invocation order.  There is then
no need to mark hookimpls with tryfirst/trylast. 

holger
_______________________________________________
pytest-dev mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pytest-dev

Reply via email to