Skip to content

Add option for tests#447

Merged
jayqi merged 4 commits intomasterfrom
195-add-tests
Mar 24, 2025
Merged

Add option for tests#447
jayqi merged 4 commits intomasterfrom
195-add-tests

Conversation

@r-b-g-b
Copy link
Contributor

@r-b-g-b r-b-g-b commented Mar 20, 2025

Closes #195

  • Add an option for testing with pytest, unittest, or none.

  • If a testing framework is selected, add a root-level tests directory with one failing test that tests that the code is tested

  • Add a make test command

@pjbull pjbull temporarily deployed to 195-add-tests - Cookiecutter Data Science PR #447 March 21, 2025 14:03 — with Render Destroyed
@jayqi jayqi self-requested a review March 24, 2025 01:02
@jayqi jayqi merged commit 025e931 into master Mar 24, 2025
16 checks passed
@jayqi jayqi deleted the 195-add-tests branch March 24, 2025 01:02
proinsias added a commit to proinsias/cookiecutter-data-science-proinsias that referenced this pull request Nov 3, 2025
* upstream/master: (24 commits)
  Add poetry as an env manager (drivendataorg#460)
  Support pixi as environment manager (drivendataorg#459)
  Docs: Add guidelines for contributing and requesting tools (drivendataorg#456)
  Fix terminal animation generation in docs build (drivendataorg#451)
  Fix failing pipenv installation on Windows GH actions runners (drivendataorg#453)
  Fix typo in using-the-template.md (drivendataorg#448)
  Bump to v2.2.0 [skip ci]
  Update HISTORY.md [skip ci]
  Add option for tests (drivendataorg#447)
  Resolve python version to work with compatible operator (drivendataorg#446)
  Add pyproject.toml as a dependencies file option (drivendataorg#436)
  Make PyPI badges links to PyPI (drivendataorg#440)
  Update to version v2.1.0 (drivendataorg#438)
  Add back isort configuration that was removed in drivendataorg#387 (drivendataorg#439)
  add badges to readme and docs homepage (drivendataorg#434)
  Added support for the uv package and project manager (drivendataorg#408)
  Add ruff as default linting + formatting option (drivendataorg#387)
  Add PyTest IDs for better readability and filtering (drivendataorg#409)
  prepare for 2.0.1 release by bumping version in pyproject.toml and updating change log (drivendataorg#422)
  Fix pre-prompt ccds version error (drivendataorg#426)
  ...
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.

Consider adding options for test runners and example tests

3 participants