All of this is about configuring pytests in pycharm
Steps to be followed:
1. Choose a project for which you want to configure pytests
2. Go to Settings
3. Go to Project -} Project Interpreter
4. Click on "+" (on top right)
5. Choose pytest library & click on install (bottom left)
6. CLose it
7. Go to Settings -} Tools -} Python Integrated Tools
8. Choose Script path and provide your path (Current project's path)
9. Choose Working directory as your path (Current project's path)
10. CLick on 'Apply' then 'ok' and then close it
11. Select Run (on top Navigation Bar)
12. Click on "Edit Configurations"
13. There select "+"
14. Select Python tests -} pytest
15. Mention the Select module name/script path and mention the path
16. Choose Current directory as the working directory
17. Step 10
18. Close it
19. Now right-click on any function, you see Run py tests for that file
20. Just click on that to get the test results
Follow me on
Contact me at:
+91 7893431379
praveen.narvaneni
Refer my profile at :
Watch my Technical Background at:
Follow my blogs at:
Watch video Configuring Pytests in PyCharm online without registration, duration 05 minute 50 second in high hd quality. This video was added by user Praveen Narvaneni 29 December 2019, don't forget to share it with your friends and acquaintances, it has been viewed on our site 20 thousand once and liked it 232 people.