Skip to content

Integration tests#199

Open
NickolausDS wants to merge 5 commits intoglobus-gladier:mainfrom
NickolausDS:integration-tests
Open

Integration tests#199
NickolausDS wants to merge 5 commits intoglobus-gladier:mainfrom
NickolausDS:integration-tests

Conversation

@NickolausDS
Copy link
Contributor

These are some integration tests written in pytest for running a handful of live XPCS datasets in parallel to make sure that all datasets perform well in corr. When run on the command line, results in the following:

[gw2] [ 25%] PASSED tests/integration/test_datasets.py::test_datasets[Eiger4m -- Multitau]
[gw1] [ 50%] PASSED tests/integration/test_datasets.py::test_datasets[Rigaku3m -- Twotime]
[gw3] [ 75%] PASSED tests/integration/test_datasets.py::test_datasets[Eiger4m -- Twotime]
[gw0] [100%] PASSED tests/integration/test_datasets.py::test_datasets[Rigaku3m -- Multitau]

Instructions are in tests/integration/readme.md

I still need feedback from Suresh/Miaoqi on which datasets are the best for testing these.

@NickolausDS NickolausDS requested a review from banubot July 16, 2025 17:33
@NickolausDS
Copy link
Contributor Author

Screenshot 2025-07-22 at 3 48 49 PM This should be good to go unless we find new test cases. It takes about a minute to run the current set of tests, and it's pretty easy to add new ones if there's anything more we want to try.

voyager8IDI = SharedCollection('dc86d51b-81d1-4827-81be-2b5e64ba7dc1',
'/gdata/dm/8IDI/', name='APS:DM:8IDI Guest')
voyager8IDI = SharedCollection('aa2b18e8-e248-4265-985c-7e2e59765539',
'/gdata/dm/', name='APS:DM:8IDI Guest')
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Path for this collection ID is /gdata/dm/8ID and collection name is APS:DM:8ID Guest

Copy link
Contributor

@ryanchard ryanchard left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These tests will be very helpful. Once this is merged we should consider whether there are other tests we need to add. I believe last week's experiment used a different detector or approach? Timepix? But we shouldn't hold this up for that.

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

Successfully merging this pull request may close these issues.

3 participants