You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Discovery API must support additional switches (such as -k=test_ for pytest). #4738
Doesn't this already work? I was expecting the ts code to pass the arguments as is to the python code, if that's not the case then this needs to be done, else its a regression.
There are a number of other arguments that users will add into "python.unitTest.pyTestArgs" that will need to be used when discovering tests.
Just passing all of the arguments that the TS code had should suffice. I was under the impression that is what was being done.
Activity
DonJayamanne commentedon Mar 13, 2019
Doesn't this already work? I was expecting the ts code to pass the arguments as is to the python code, if that's not the case then this needs to be done, else its a regression.
There are a number of other arguments that users will add into
"python.unitTest.pyTestArgs"that will need to be used when discovering tests.Just passing all of the arguments that the TS code had should suffice. I was under the impression that is what was being done.
#3911 (comment)
#4033 (comment)
Not doing this will potentially break existing pytests.
This works with the existing code.
/cc Eric Snow (@ericsnowcurrently)
DonJayamanne commentedon Mar 20, 2019
Closing this as it has been account for, and the existing tests will ensure this does not get missed in #4795