Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »



https://docs.pytest.org/en/stable/
1- create a test_xxx filein the same folder
2- run the testpytest -s (optional filename )



in pycharm
1- change the test tool to pytestFile Menu >> Setting >> Tools >> Python integrated tools

enable the script output ( allow printout )
Create the test_xxx.py file
Go to the test file

Run the test

Run Menu >> RUn "pytest test_name_of_the_file.py"


  • No labels