<div dir="ltr">Hello guys,<br><br>At the moment I am working on an application for testing embedded<br>devices(mainly single board computers). As a testing suite, we are<br>using avocado.<br><br>The aim of our project is to develop something that does not require a<br>huge experience in python in order to being able to write a test.<br>Most of the tests we need to perform should run both locally and<br>through either serial or ssh and consist in a sequential execution of<br>commands and output processing.<br>To accomplish this, we were thinking to write wrappers around the<br>Paramiko library and PySerial.<br><br>Our goal would be to write and execute the tests in a way similar to<br>the example given for the process.run at page 17 of the documentation<br>in pdf for Avocado 0.52. This means that the whole log of the<br>operations should be done by the wrappers and not inside the Test<br>class.<br><br>In summary, here is the example:<br>avocado.fail_on(process.CmdError)<br>def test(self):<br>process.run("first cmd")<br>process.run("second cmd")<br>process.run("third cmd")<br><br>I was wondering if any of you has already worked on something similar<br>or has some advice that may be helpful to me.<br><br>Thank you and best regards.<br><br>Frank.</div>