Skip to content

Discovery API must support additional switches (such as -k=test_ for pytest). #4738

Closed

Description

@d3r3kk

Our new test discovery API must support extra switches that our users will want to configure their test platform with.

For example, the -k=[pattern] switch that tells Pytest what to look for as test identifier.

Activity

  1. added
    bug
    on Mar 13, 2019
  2. DonJayamanne commented on Mar 13, 2019

    @DonJayamanne

    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)

  3. added
    regression
    on Mar 13, 2019
  4. removed
    regression
    on Mar 13, 2019
  5. DonJayamanne commented on Mar 20, 2019

    @DonJayamanne

    Closing this as it has been account for, and the existing tests will ensure this does not get missed in #4795

  6. locked as resolved and limited conversation to collaborators on Apr 17, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

area-testingbug

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions