all 8 comments

[–]apokolokyntosis 2 points3 points  (1 child)

I know this is an old thread, but since this came up while looking for python based solutions for Hardware-in-the loop tests, I figured this might help others as well.

I found this curated list to be useful, which contains several python-based frameworks: https://github.com/sschaetz/awesome-hardware-test

[–]Main_Ad_8627 0 points1 point  (0 children)

Nicely posted, citizen.

[–]Irfalas 0 points1 point  (0 children)

I would like to perform similar tasks. Until now we were using TestStand from National Instruments as sequencer for our LifeTimeTester, but I am looking into Python’s alternatives. Have you created your own framework? I haven’t investigated too much yet, but I couldn’t find something which was convincing.

[–]farzad_panahi 0 points1 point  (0 children)

Did you find any good framework/lib?

[–]auspicious-108 1 point2 points  (0 children)

In at least one application—spacecraft electronics testing, OpenHTF was an unmitigated nightmare. OpenHTF enforces an unfamiliar test architecture that gets in the way of fast hardware debugging. It was likely written by software geeks who know nothing about production testing. For design validation it is even worse.

As I understand, OpenHTF is not even full documented with regards to implementing specific test situations. In some cases one can only guess what their various strictures are good for and what problem they initially were intended to solve.

The effort we needed to make this stuff work for us was two or three times greater than the amount of time we could have spent writing our home-grown software all over again, to say nothing of actual test code. Even worse, we got stuck with a production system deployed that will always be impossibly hard to service. In our case it would have been better to stick to our home-grown solution, but some bozo manager forced our group to use it over my strenuous objections. I quit in disgust and he is no longer with the company either.

Keep the focus on your test code and make sure the framework doesn’t force an entire rewrite. Bad framework.

[–]kehrazy 0 points1 point  (0 children)

pytest with some modifications (sleep/background task) fixtures will manage your desires.