Skip to content

Testium element#12

Merged
Plasdom merged 6 commits intoPlasdom:mainfrom
PlasmaFAIR:testium
Jun 27, 2025
Merged

Testium element#12
Plasdom merged 6 commits intoPlasdom:mainfrom
PlasmaFAIR:testium

Conversation

@avadean
Copy link
Collaborator

@avadean avadean commented Jun 19, 2025

  • Added an element "Testium". Currently it is equal to Helium - we can cut it down later if we want to do more heavy testing with it. The json files come to 260KB at the moment.

  • I have added the Testium .json files to the usual sike_atomic_data directory and instructed .gitignore to allow this Testium element specifically to be tracked.

  • Added a basic test for it using syrupy for dynamic snapshot testing.

  • Parametrised the multi-element tests.

  • Tests will now be skipped if elemental data has not been downloaded. Testium should always pass as my intention is that its data is kept in the GitHub under version control.

@avadean avadean requested a review from Plasdom June 19, 2025 17:17
@avadean
Copy link
Collaborator Author

avadean commented Jun 19, 2025

Hi. I've added Testium element. I've put in as a draft pull request because it is based off of the yet-to-be-merged PR #11

Please advise if Testium should work in a different way :)

@avadean avadean marked this pull request as ready for review June 19, 2025 17:40
Copy link

@LiamPattinson LiamPattinson left a comment

Choose a reason for hiding this comment

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

Looks good, and I'd be interested to hear about your experience using syrupy! I think the use of pytest.skip and pytest.mark.parametrize are definite improvements here.

@Plasdom Plasdom merged commit b48b270 into Plasdom:main Jun 27, 2025
1 check passed
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

Comments