You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[edited by @PGijsbers] Currently a lot of unit tests are written with the unittest module, but we want to use pytest instead. Generally speaking, this means extracting the test methods into pytest functions, optionally adding things like pytest fixtures to replace setup/tear-down logic and using plain assert instead of the unittest-based assert methods. Below is an overview of which files have already been migrated:
That's a slight misunderstanding. Only the tests for test_utils were converted to pytest style. The remainder of the submodules still have (many) unittest-style tests.
Hi @PGijsbers and @Taniya-Das 👋
I am Om , a B.Tech undergrad from India . I have a past experiece of witting tests for libraries . I want to contribute to this issue . Is this issue is open ? Can you assign me ?
I’d also like to contribute to this issue. I can pick up the tests that haven’t been worked on yet. I have prior experience writing and maintaining end-to-end and integration tests during my LFX project, so I’m comfortable handling test coverage.
I updated this issue to denote the last files which still require conversion. We have decided that we would prefer to tackle the last stretch of migration ourselves. The linked pull requests will still be reviewed, but the remaining files for which there is not yet a pull request will be handled by the core contributors. This is because we have seen that the simultaneous migrations, and potentially the lack of familiarity of new contributors to the code base, introduced a lot of duplication and hard to review PRs. Thanks for your understanding.
Activity
PGijsbers commentedon Jul 8, 2023
Working on test_utils: #1269
SubhadityaMukherjee commentedon Jun 16, 2025
This was closed in #1269
PGijsbers commentedon Jun 16, 2025
That's a slight misunderstanding. Only the tests for
test_utilswere converted to pytest style. The remainder of the submodules still have (many) unittest-style tests.Omswastik-11 commentedon Nov 15, 2025
Hi @PGijsbers and @Taniya-Das 👋
I am Om , a B.Tech undergrad from India . I have a past experiece of witting tests for libraries . I want to contribute to this issue . Is this issue is open ? Can you assign me ?
ravjot07 commentedon Nov 23, 2025
Hi @PGijsbers and @Taniya-Das , @naman9271
I’d also like to contribute to this issue. I can pick up the tests that haven’t been worked on yet. I have prior experience writing and maintaining end-to-end and integration tests during my LFX project, so I’m comfortable handling test coverage.
Converting test_study to pytest (#1439)
Migrate test_setups to pytest (#1442)
Migrate test_extensions to pytest (#1440)
Migrate test_evaluations to pytest (#1444)
migrated `test_tasks` successfully (#1455)
Migrated `tests/test_flows/test_flow_functions.py` test to pytest (#1452
Migrated `tests/test_flows/test_flow.py` test to pytest (#1453)
Migrate `tests/test_datasets/test_dataset.py` to pytest (#1451)
PGijsbers commentedon Nov 17, 2026
I updated this issue to denote the last files which still require conversion. We have decided that we would prefer to tackle the last stretch of migration ourselves. The linked pull requests will still be reviewed, but the remaining files for which there is not yet a pull request will be handled by the core contributors. This is because we have seen that the simultaneous migrations, and potentially the lack of familiarity of new contributors to the code base, introduced a lot of duplication and hard to review PRs. Thanks for your understanding.