If you want to run all tests, you should type: python3 -m unittest If you want to run just a class, you should type: python3 -m unittest tests.test_contact_page.TestContactPage If you want to run just a test method, you should type: python3 -m unittest tests.test_shop_page.TestShopPage.test_4_purchase_products