Skip to content

Add CI and unit tests for Python utilities#242

Open
philippmuench wants to merge 10 commits intomasterfrom
add_tests
Open

Add CI and unit tests for Python utilities#242
philippmuench wants to merge 10 commits intomasterfrom
add_tests

Conversation

@philippmuench
Copy link
Copy Markdown
Collaborator

Summary

  • Add GitHub Actions workflows: smoke test (syntax + Nextflow) and unit tests (pytest + coverage)
  • Add 247 unit tests across 13 test files covering core Python utilities
  • Add CI status badges to README
  • Improve README with quick start guide, parameter reference, and project structure

Test coverage includes

  • Community distribution generation (lognormal, timeseries, replicates, differential)
  • CIGAR string parsing and generation (NanoSim, WGSIM, MAF converter)
  • NCBI taxonomy building and lineage resolution
  • Gold standard file format I/O and read/contig mapping
  • Sequence anonymization
  • Gene abundance distributions (metatranscriptomic)
  • Strain simulation distributions
  • Config v1→v2 conversion

Test plan

  • Both CI badges show green (smoke test + unit tests)
  • Review test output for coverage percentage

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