The tox indirection layer is convenient except for the usual problems
caused by too many layers of indirection:
Add some examples and show how it is still possible to use important
pytest features. This is also useful to boost people familiar with
Python but not with pytest.
To stop developers wasting their time trying, document a major
limitation with the current approach: impossible to run the west
code in a debugger when it's started from a test.
The tox indirection layer is convenient except for the usual problems caused by too many layers of indirection:
Add some examples and show how it is still possible to use important pytest features. This is also useful to boost people familiar with Python but not with pytest.
To stop developers wasting their time trying, document a major limitation with the current approach: impossible to run the west code in a debugger when it's started from a test.
Show how the "printf" alternative can work.