[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v2 4/6] automation/qtb: add unit tests for the QTB framework



On 2026-10-27 17:51 +0100, Oleksii Kurochko wrote:
> 
> 
> On 8/27/26 11:42 AM, Baptiste Le Duc wrote:
> > The QTB framework is meant to be extended: new test types, new machines and
> > new device trees aim to be added by other people.
> > 
> > Add pytest coverage of the framework's functions, and of the console-test
> > type's config validation and expect/retry loop, so that such changes get
> > immediate feedback and existing behaviour does not silently regress.
> 
> Nothing runs these tests, though: there is no CI job for them, and the
> container from patch 1 doesn't even have pytest. So the feedback only
> comes if whoever changes the framework has pytest and the QTB fork
> installed locally and remembers to run them.
Finally, I'll drop the unit tests patch in v3. They mostly help local
development of the framework itself, and CI never runs them, so carrying
that much test code in the tree isn't worth it.

-- 
Baptiste Le Duc <baptiste.le-duc@xxxxxxxxxx>



 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.