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

Add automated tests #1

Merged
merged 13 commits into from
Jan 12, 2020
Merged

Add automated tests #1

merged 13 commits into from
Jan 12, 2020

Conversation

eweitz
Copy link
Owner

@eweitz eweitz commented Jan 12, 2020

This adds automated tests for gtf_to_gen_pos.py and dge_to_ideogram.py.

Tests do full runs through each module, verifying testing the input CLI and file outputs. Mock data is sampled from real data; large samples are tracked via Git LFS (Large File Storage), small samples are tracked directly in this repo.

Example test suite run:

cd tests/
pytest
============================================================================ test session starts ============================================================================
platform darwin -- Python 3.7.5, pytest-5.3.2, py-1.8.1, pluggy-0.13.1
rootdir: /Library/WebServer/Documents/ideogram-dge/tests
collected 2 items                                                                                                                                                           

test_ideogram_dge.py ..                                                                                                                                               [100%]

============================================================================= 2 passed in 0.19s =============================================================================

@eweitz eweitz merged commit 81d9a84 into master Jan 12, 2020
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.

1 participant