How do I test a Python script in PyCharm?

How do I test a Python script in PyCharm?

This is the procedure to test a Python script: For setting the needed test runner as per the project settings, click Ctrl+Alt+S for opening the IDE settings. Click on Tools-> Python Integrated Tools. Click on the target test runner right from the list of Default test runner.

Read this blog for more info: Test your first Python application | PyCharm Documentation