-
-
Notifications
You must be signed in to change notification settings - Fork 866
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
TST Make pyodide-test-runner
installable
#2742
Merged
Merged
Changes from 1 commit
Commits
Show all changes
16 commits
Select commit
Hold shift + click to select a range
a7ee5ac
Make pyodide-test-runner an installable package
ryanking13 3b20d09
Unpin selenium version
ryanking13 5726e5e
Merge remote-tracking branch 'upstream/main' into test-runner-package
ryanking13 9c54dd3
Fix CI
ryanking13 ce2b85a
Add some comments
ryanking13 e3c2d0a
Remove base-64 dependency
ryanking13 d21be90
Use a separate CI job for pyodide-test-runner testing
ryanking13 1a8c895
Install node-fetch globally
ryanking13 f7468f8
Move more stuffs into pyodide-test-runner
ryanking13 0501db0
Use ESM import for node-fetch
ryanking13 3fc36ec
Move assert rewrite into pyodide-test-runner
ryanking13 d979b22
Use node-fetch v2 to use CommonJS syntax
ryanking13 27d53d2
Globally register markers
ryanking13 3a3526c
Add pyodide-test-runner to bump_version
ryanking13 c82186e
Merge remote-tracking branch 'upstream/main' into test-runner-package
ryanking13 bfff171
Merge remote-tracking branch 'upstream/main' into test-runner-package
ryanking13 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
Globally register markers
- Loading branch information
commit 27d53d22b92c0dc3d9048d9a5dc5d1d1be99229a
There are no files selected for viewing
This file contains 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 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
pytest_plugins = [ | ||
"pyodide_test_runner.hook", | ||
"pyodide_test_runner.fixture", | ||
] |
Empty file.
This file contains 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 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 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -43,3 +43,7 @@ pytest11 = | |
where = . | ||
|
||
[tool:pytest] | ||
asyncio_mode = strict | ||
addopts = | ||
--tb=short | ||
--dist-dir=../dist |
This file contains 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 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
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you please comment why we need to refactor this file? Maybe Hood should review this.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I refactored this to remove all
import pyodide
statements. I wanted to makepyodide-test-runner
testable without accessing Pyodide source tree.Most changes in
test_decorator
file are replacing the selenium mock class with a real selenium class which, I guess, does not harm test coverage.