Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multiple tests or one test and multiple subtests? #1145

Open
siwica opened this issue Mar 26, 2024 · 0 comments
Open

Multiple tests or one test and multiple subtests? #1145

siwica opened this issue Mar 26, 2024 · 0 comments

Comments

@siwica
Copy link

siwica commented Mar 26, 2024

I am getting started with learning openhtf and I am wondering on how to best organize my tests.

My goal is to design a factory test, testing multiple fairly distinct features of the DUT: Ethernet connectivity, digital IOs, analog IOs, LEDs, ... What are best practices (advantages/disadvantages) on how to structure these tests?

Variant 1:
One big Test. Subtests with multiple phases each for Ethernet, Digital I/O, Analog IO, ... I guess the advantage is that I can easily share state among the tests and the final evaluation ist easier?!

Variant 2
Distinct Tests for each component. I assume assembling a final evaluation is a bit harder in this case?

Is there some good open source project utilizing openhtf to write tests that I can read for best-practices on how to do things? Unfortunately documentation seems to be rather sparse...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant