-
-
Notifications
You must be signed in to change notification settings - Fork 782
Switch test runner from nosetest to pytest #6291
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
Merged
Merged
Changes from all commits
Commits
Show all changes
42 commits
Select commit
Hold shift + click to select a range
815b088
Replace nose with pytest
nzlosh 46c7380
switch nosetest to pytest
nzlosh af863b3
Replace nosetest with pytest (without concurrency)
nzlosh 7f6b1bc
Use pytest.raises instead of assertRaisesRegex
nzlosh 1b1cb45
Use pytest.mark.skipif
nzlosh 6fdaea3
Remove nose from requirements
nzlosh a6a8c90
remove nose from test requirements
nzlosh 49112d3
drop extra space in Makefile
nzlosh af2cacd
Adjust pytest args
FileMagic 227742b
Use pytest.mark.skipif instead of unittest.skipIf
FileMagic 4f0881d
fix pytest cov
guzzijones c096f8a
lint fixes
guzzijones c80fc2e
pytest changes:
guzzijones 7ceb204
add reason to skip
guzzijones 4345a58
add reason for pytest
guzzijones c691cf1
add reason
guzzijones d356a75
attempt to change st2-run-packs-test with pytest instead of nose
guzzijones f1b5de2
fix st2-pack-test
guzzijones 38a75a9
change to pytest args for st2runpackstests
guzzijones 6ba7fdb
st2 run packs changes
guzzijones b64d0f5
add reason to pytest
guzzijones a91c200
copy pytest pin from lockfiles/st2.lock and remove duplicates in test…
cognifloyd d5d1199
Regenerate lockfiles/st2.lock to remove nose
cognifloyd 595bbc4
Copy pinned versions from lockfiles/st2.lock to reqs files
cognifloyd 6e71584
Bump pytest version in st2-run-pack-tests
cognifloyd 514655d
Drop nosetest config files
cognifloyd 0aa6696
Switch from nose-parallel to pytest-shard
cognifloyd ba461d7
Add reason= to pytest.mark.skipif
cognifloyd 6c22de2
Add pack shared lib dir support to st2-run-pack-tests
cognifloyd 7c44835
Makefile debug
cognifloyd c4522a3
Use pytest-custom_exit_code to pass when no tests are found
cognifloyd 36f208b
Improve Makefile debug output
cognifloyd 760f6cb
add changelog entry
cognifloyd da9e48d
Drop st2-run-pack-tests debug output
cognifloyd 67bb6a2
CircleCI: Try updating PIP_VERSION in st2-packages on the fly
cognifloyd 50c1776
CircleCI: Fix wheelhouse build failure on ubuntu focal
cognifloyd aa6e1d2
use pytest-test-groups over pytest-shard
cognifloyd 332edcf
Inline pytest-test-groups to prepare to modify it
cognifloyd 784dc7f
Use file path to calculate group instead of test id
cognifloyd 79752cb
fmt with black
cognifloyd 4201a33
Better bail out if pytest args not provided
cognifloyd c4dc652
test-group is now 0-based
cognifloyd File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.