[Python] While using pytest in pycharm IDE, I am unable to see the run button

Discussão em 'Python' iniciado por Stack, Fevereiro 14, 2025.

  1. Stack

    Stack Membro Participativo

    Currently I am working in pytest and I have written some class with function in some py file as well i have one more file in which I have written only function in other py file.

    I am attaching the image to make it more clear. I have highlighted it with yellow color

    [​IMG]

    Now I am attaching other image which doesn't have any class defined. Only some functions has been defined in this test file. Below is the screenshot.

    [​IMG]

    So my concern is if I want to run any particular function (without any class defined), how its possible. As per my understanding that green color run symbol should come in 2nd image as well before every test function. So is there any IDE setting issue or something else. I have pytest install, pylint install. Does this VCS configuration issue (VCS I mean path of the project).

    Any leads to fix this issue.

    Continue reading...

Compartilhe esta Página