Skip to content

Refactor24 join tests#165

Merged
rprospero merged 10 commits intorefactor_24from
refactor24_join_tests
Oct 24, 2025
Merged

Refactor24 join tests#165
rprospero merged 10 commits intorefactor_24from
refactor24_join_tests

Conversation

@rprospero
Copy link
Contributor

This removes most of my old testing framework and combines it in with the work that James did. This also fixes the issues with the H5 test not passing. The following issues are known, but are a bit beyond the scope of the current PR:

  • Eventually, the "reference" files should be removed and everything should use the expected_values and expected_metadata. This is likely my next PR
  • round_trip should be true for all tests, but it is currently failing on some tests, I didn't want to mark those tests as broken, because all of the loading infrastructure should still be tests, but some of these files cannot survive a round trip through h5.

There's also a bit of a future refactor to perform because the test framework was designed around the ASCII reader, where files only contain a single dataset. The XML and HDF files can contain multiple datasets, so a little infrastructure was added to choose only a single dataset from the file. However, a better system would be to test the ASCII and SESANS as special cases containing only a single dataset and generally work with multiple data sets per file.

codescene-delta-analysis[bot]

This comment was marked as outdated.

Copy link

@codescene-delta-analysis codescene-delta-analysis bot left a comment

Choose a reason for hiding this comment

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

Gates Passed
3 Quality Gates Passed

See analysis details in CodeScene

Quality Gate Profile: The Bare Minimum
Want more control? Customize Code Health rules or catch issues early with our IDE extension and CLI tool.

Copy link
Contributor

@DrPaulSharp DrPaulSharp left a comment

Choose a reason for hiding this comment

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

All looks good!

@rprospero rprospero merged commit 4ac9584 into refactor_24 Oct 24, 2025
11 checks passed
@rprospero rprospero deleted the refactor24_join_tests branch October 24, 2025 15:46
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.

2 participants

Comments