Skip to content

I am writing unit test cases for python file using pytest framework  #1833

Open
@DotNetTechSoln

Description

@DotNetTechSoln

When I am trying to run the test case i am able to run it.using following command

pytest
In the output I can see this
test_sample.py 100%

When I am trying to run the following command to see whole line coverage

coverage run -m pytest
I am getting below error
Windows fatal exception: access violation
when I hit
coverage html
It is saying no data to report
Even . coverage file is also not generating.
anyone please help me.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions