Switch from nose2 to pytest, add local unit tests#116
Merged
Conversation
- Replace nose2 with pytest as test runner - Tag all existing E2E tests with @pytest.mark.e2e - Add 50 fast unit tests for tasks, exceptions, and client/job logic - Separate CI: unit tests on every push, E2E tests via make test_e2e - Delete unittest.cfg, add pyproject.toml with pytest config Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
pyproject.toml@pytest.mark.e2e; excluded by default sopytestruns only fast unit testsmake test(unit tests on every push),make test_e2e(E2E tests in dedicated workflow)unittest.cfg(nose2 multiprocess config), remove nose2 references fromsetup.py/setup.cfg/tox.iniTest plan
pytestruns 50 unit tests, 8 E2E deselected (verified locally)pytest -m e2e --override-ini="addopts="collects all 8 E2E testsmake testruns unit tests onlypythonpackage.ymlruns unit tests across Python 3.9–3.14e2e.ymlruns E2E tests viamake test_e2e🤖 Generated with Claude Code