Skip to content
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

Make use of pFUnit test fixtures #238

Draft
wants to merge 19 commits into
base: main
Choose a base branch
from
Draft

Conversation

jwallwork23
Copy link
Contributor

@jwallwork23 jwallwork23 commented Jan 14, 2025

Closes #236.
To follow #231 and #237 (rebased on top of those branches).

Sets up the pFUnit fixture machinery for the test_tensor_constructors unit tests.

To do this, I needed to convert the unit tests to use modules. A benefit of doing so is that common imports and parameters could be moved to the module level. (As such, many of the lines changed are just indentations of the unit tests.)

@jwallwork23 jwallwork23 added autograd Tasks towards the online training / automatic differentiation feature testing Related to FTorch testing labels Jan 14, 2025
@jwallwork23 jwallwork23 self-assigned this Jan 14, 2025
@jwallwork23 jwallwork23 force-pushed the 236_unit-test-fixtures branch from 12d504a to 397daeb Compare January 14, 2025 15:24
@jwallwork23 jwallwork23 force-pushed the 236_unit-test-fixtures branch from 397daeb to d696e4d Compare January 14, 2025 16:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
autograd Tasks towards the online training / automatic differentiation feature testing Related to FTorch testing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Use fixtures in unit tests
1 participant