thanks for the basic video. how can people use the Configure test with pytest in VS Code? It is the test beaker icon on the left activity bar. I want to debug specific unit tests within the IDE because the command line is not as useful
You can speficically target a test in pytest in the comand line. `pytest test_mod.py::TestClass::test_method` docs.pytest.org/en/7.1.x/how-to/usage.html
Hi Bro , i got this , thanks for this video and have one doubt like how to run the particular file with showing coverage percentage? as of now if i have 10 files and if i ran single file that coverage is showing for all 10 files , Can you fix this how ?
You can do a coverage report then it will give you the line and file that does not have coverage. install the coverage report and run -> coverage report -m. More info here. -> coverage.readthedocs.io/en/7.6.1/
Hi if you want to do unit testing and are using one of the Python web frameworks they have a client you can use to test behavior's of our app. If you want to do more integration test or load test there are other tools for this.
thank you bro , I strugled to run pytest for whole week
👍🏻
Спасибо!!! Отличный ролик!
thanks for the basic video.
how can people use the Configure test with pytest in VS Code? It is the test beaker icon on the left activity bar. I want to debug specific unit tests within the IDE because the command line is not as useful
You can speficically target a test in pytest in the comand line. `pytest test_mod.py::TestClass::test_method` docs.pytest.org/en/7.1.x/how-to/usage.html
Hi Bro , i got this , thanks for this video and have one doubt like how to run the particular file with showing coverage percentage? as of now if i have 10 files and if i ran single file that coverage is showing for all 10 files , Can you fix this how ?
You can do a coverage report then it will give you the line and file that does not have coverage. install the coverage report and run -> coverage report -m. More info here. -> coverage.readthedocs.io/en/7.6.1/
I need to create test automation for a specific project, but the website is currently running on the localhost. How can i run the test?
Hi if you want to do unit testing and are using one of the Python web frameworks they have a client you can use to test behavior's of our app. If you want to do more integration test or load test there are other tools for this.
Very little about VS Code.
The basics usually is very little.
@@pytalista Then change the title (i.e., drop VS Code).
This is why it is “the basics” not “the complete guide”
thankyou so much
You are so welcome!