-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Back off extra python version of diagnostic test cases #37475
base: master
Are you sure you want to change the base?
Conversation
Changed Files
|
PR #37475: Size comparison from 7a2733e to 7c9f9ce Full report (72 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, efr32, esp32, linux, nrfconnect, nxp, psoc6, qpg, stm32, telink, tizen)
|
Is there any way to check for duplication in CI? Because it looks like a lot of time has been wasted (creating such python tests). CI feedback that particular test is already there would be nice. |
Unfortunately, no. Initially, we opted for Python tests because Python can simulate FIFO to trigger events for those tests. However, YAML addressed this gap by using Test Event Trigger. Yes, it was a significant waste of time, and I take responsibility for that. The best way to prevent this moving forward is to always check whether an existing test already covers all cases before implementing a new one with a different tool. If the old test is sufficient, we should stop immediately. |
I think that part of the problem is the location of YAML and python tests. YAML tests and python tests are located in different places in the source code, where imho they should be placed alongside each other. In that case the technologi used to create the test is less important than the purpose of the test, which is test plan implementation... Also, running python tests and YAML tests, from the user point of view, should be indistinguishable. The top level command should be "run test case XY", without the knowledge of used backend. |
The YAML version for those cert tests already exists, back off the new added python version
Testing
Validated by CI