forked from DonJayamanne/pythonVSCode
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
New Unittest Execution #19386
Merged
Merged
New Unittest Execution #19386
Conversation
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
anthonykim1
force-pushed
the
unittest_execution
branch
from
July 27, 2022 17:27
1f965d8
to
8da4c3e
Compare
….test.ts instances
karthiknadig
previously approved these changes
Aug 1, 2022
karthiknadig
approved these changes
Aug 1, 2022
wesm
pushed a commit
to posit-dev/positron
that referenced
this pull request
Mar 28, 2024
* Adding execution fixes. * add map of runIDToTestItem for workspaceTestAdapter instance * update UI accordingly using new execution method * attempt to fix invalid argument * fix invalid argument * add traceback to the message * attempt to fix runID * remove import Codetypes * change runtest pattern to non optional * remove unnecessary import comments * add code for unittest execution debugger * add noop,traceError to solve mergeConflict * fix malfunctioning execution, skipped and expected failure outcome * allow cherry pick test runs for efficiency * add subtest update and directory search * leave new debugLauncher dormant and try to fix python type * ignore type for runner.run as in the past * cleanup execution.py * typescript side cleanup * move the runInstance starting up before executing * remove unnecessary debugLauncher check * get rid of TypeAlias * move uuid to header instead of inside payload * fix python test and look server unittest * test out timeout * try adding requestuuid to avoid timeout * try using rawHeaders.push * try inserting uuid inside option command * fix all server.unit.test.ts problem caused by moving uuid to header * get rid of unused variable warning * windows python test server * pass in debuglauncher to new python test server in all of server.unit.test.ts instances * make debugLauncher non optional on server.ts * fix unnecessary comments on discovery * rename requestuuid to request-uuid * rename parse_unittest_discovery_args and move to utils * attempt to fix the moduleNotFound for utils * attempt to fix moduleNotFound2 * rearrange os.path * undo rearrange os.path * test that were not found mark as skipped * fix set subtraction * remove unnecessary not found which is handled earlier by tailor run and result * fix broken discovery refresh * fix warnings regarding unused * remove unused variable * fix testData doesnt exist error * remove unused methods * comment new unittest
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.
Unititest execution is now possible through the new way from gathering test result data from execution.py to and throughout testExecutionAdapter.ts <=> workspaceTestAdapter.ts <=> controller.ts. VS Code UI are updated appropriately after clicking on the "run" button for each of the demanded test element.