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

Move test files to subfolders #99

Closed
4 tasks done
CunliangGeng opened this issue Feb 9, 2023 · 0 comments
Closed
4 tasks done

Move test files to subfolders #99

CunliangGeng opened this issue Feb 9, 2023 · 0 comments
Assignees

Comments

@CunliangGeng
Copy link
Member

CunliangGeng commented Feb 9, 2023

Grouping tests to different folders will make it easier to test specific code, e.g. only genomics related code.

Todo:

  • Take src/nplinker structure as reference and create similar structure (one level) in tests
  • move test files to relevant subfolders
  • update code in tests if needed
  • create pytest's conftest.py for each subfolder if needed

It's a good practice to limit the scope of pytest fixtures by creating conftest.py for each folder.

@CunliangGeng CunliangGeng self-assigned this Feb 9, 2023
CunliangGeng added a commit that referenced this issue Feb 22, 2023
To solve issue #99 
* move test files to relevant subfolders
* create pytest conftest.py for relevant subfolders
* fix redundant fixtures
* move non-shared fixture to specific file
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

No branches or pull requests

1 participant