How to run stb-tester tests with pytest

35 views
Skip to first unread message

Alexey Gridnev

unread,
Jan 10, 2018, 4:15:15 AM1/10/18
to stb-t...@googlegroups.com
Hi all,

I have a bunch of tests that are running on stb-tester one. I have only one question: how can I use pytest for running these tests?

I tried to write in config/setup/setup something like "pytest tests/test_name.py", but it says it can't find the file.

Thank you in advance!

--
Best Regards,
Alexey Gridnev

David Röthlisberger

unread,
Jan 10, 2018, 9:21:17 AM1/10/18
to Alexey Gridnev, stb-t...@googlegroups.com
On Tue, 9 Jan 2018, at 12:38 PM, Alexey Gridnev wrote:
how can I use pytest for running these tests?

Hi Alexey

Because of the way we implemented it, you can only run tests with the stb-tester test-runner, which sets up the GStreamer video-capture pipeline etc.

Here's a rough list of what it would take to implement pytest support:

Why do you want to use pytest -- are you interested in the test fixtures, the assertion introspection, or something else?


Kind regards,

David Röthlisberger
Stb-tester.com Ltd.

--
Stb-tester.com Ltd is a company registered in England and Wales.
Registered number: 08800454. Registered office: 33b Aliwal Road,
Battersea, London, SW11 1RB.


Reply all
Reply to author
Forward
0 new messages