-
Notifications
You must be signed in to change notification settings - Fork 4
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
Better reuse of process selection logic #37
Conversation
488e9bf
to
08f33ad
Compare
@m-mohr @clausmichele This is a pretty big PR and I don't expect you to review it in detail I just wanted to inform you of what it is about. Some quick highlights
|
This is really cool! I went through the code and seems fine. I just didn't get where the code is initializing the process registry and the list of processes of each defined level, that will be used to check if the process graph contains required processes from that level. On the workflows side I guess that now the |
FYI: The bootstrapping of these things is triggered from this pytest "configure" hook: openeo-test-suite/src/openeo_test_suite/lib/pytest_plugin.py Lines 66 to 76 in 8ecedb9
indeed that was one of the minor followup cleanups I might add |
FYI: I'm going to merge this somewhere today to allows some further finetuning in other tickets |
Is there a way to figure out why something was skipped? Could be with a CLI parameter. I found that valuable to know when developing things. Also, when testing the PR the tests ran much slower than before. What happened there? Master: 128 failed, 715 passed, 166 skipped, 68 warnings in 11.85s |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The runtime slowdown should be investigated
had some struggles to get dask dependencies working, but I can now reproduce. Investigating |
pushed a quickfix and now doing on main branch:
on process-listing branch:
|
With normal But I guess you here are referring with "skipped" to tests that are now not being "collected" anymore because of the process selection options?
I understand, but as a user of the test suite, using the process selection feature, seeing hundreds of tests scroll by and being listed as skipped in the report gives a bad signal noise ratio |
Yeah, in general I agree that skipped tests should not be shown. But it's imporant for dev to understand why something is skipped, I think. But it's good for now I guess. Thanks for the explanation. Thanks for the fix for the slowdown. |
- Move logic to `lib` and plugin, with better (internal) test coverage - Replace fixture based approach in tests/processes/processing with filtering at test collection phase
- integrate generalized process selection in Skipper - port workflow tests - eliminate deprecated `process_levels` fixture
62a8ffa
to
3ccaed1
Compare
added some minimal logging already in 3984219 |
WIP PR to support #10 #24