Re: [ptest-runner] Added output processing to pytest


Anibal Limon
 



On Fri, 22 May 2020 at 08:37, Ross Burton <ross@...> wrote:
On Fri, 22 May 2020 at 14:31, Paul Barker <pbarker@...> wrote:
> > We could have a recipe in oe-core with this in, or just drop it into
> > the python recipe directly.
>
> It's packaged on pypi: https://pypi.org/project/betatest/
>
> I need to do a new release as I tidied a few things up and added a
> subtest wrapper after I published v0.1.0. This gives me a kick to get
> that done :)

Awesome.  I endorse a pypi recipe shipping that, which recipes can then re-use.

The next question is how to integrate that runner with pytest.

I like the idea of format the output at level of pytest, in OEQA there is OETestResult class that is where the changes need to be made to add the option to use AM format.


Regards,
Anibal
 

Ross

Join {yocto@lists.yoctoproject.org to automatically receive all group messages.