pycharmbddpytest-bdd

Python Community : Can we use BDD framework in community version?


I am self learning automation testing using Python. When going through few blogs they mentioned they have used Pycharm Professional version for Behave or Py-test BDD framework.

Can we use Pycharm community version for BDD frameworks?

Any advice is greatly appreciated.

Thanks,


Solution

  • Yes, with PyCharm community version you can create PyTest-BDD framework. Only thing is you have to run via terminal or using pytest.main() to run the scripts

    Ex : pytest.main(["-k", BDD_TAG, "--html="+LOACAL_REPORTS_FOLDER_PATH+"/Result/index.html"])