T
Size: a a a
T
EB
platform win32 -- Python 3.9.5, pytest-6.2.4, py-1.10.0, pluggy-0.13.1 -- c:\users\bukhg\pycharmprojects\selenium_pytest\venv\scripts\python.exe
cachedir: .pytest_cache
rootdir: C:\Users\bukhg\PycharmProjects\selenium_pytest\tests
collected 3 items
test_with_class.py::Tests::test_a_sum PASSED [ 33%]
test_with_class.py::Tests::test_b_multiply PASSED [ 66%]
test_with_class.py::Tests::test_c_extract PASSED [100%]
================================================================================================================================================== 3 passed in 0.01s ===================================================================================================================================================
(venv) C:\Users\bukhg\PycharmProjects\selenium_pytest\tests>pytest test_with_class.py -v
================================================================================================================================================= test session starts ==================================================================================================================================================
platform win32 -- Python 3.9.5, pytest-6.2.4, py-1.10.0, pluggy-0.13.1 -- c:\users\bukhg\pycharmprojects\selenium_pytest\venv\scripts\python.exe
cachedir: .pytest_cache
rootdir: C:\Users\bukhg\PycharmProjects\selenium_pytest\tests
collected 3 items
test_with_class.py::Tests::test_a_sum PASSED [ 33%]
test_with_class.py::Tests::test_b_multiply PASSED [ 66%]
test_with_class.py::Tests::test_c_extract PASSED [100%]
================================================================================================================================================== 3 passed in 0.01s ===================================================================================================================================================
EB
(venv) C:\Users\bukhg\PycharmProjects\selenium_pytest\tests>pytest test_with_class.py -v
================================================================================================================================================= test session starts ==================================================================================================================================================
platform win32 -- Python 3.9.5, pytest-6.2.4, py-1.10.0, pluggy-0.13.1 -- c:\users\bukhg\pycharmprojects\selenium_pytest\venv\scripts\python.exe
cachedir: .pytest_cache
rootdir: C:\Users\bukhg\PycharmProjects\selenium_pytest\tests
collected 3 items
test_with_class.py::Tests::test_a_sum PASSED [ 33%]
test_with_class.py::Tests::test_b_multiply PASSED [ 66%]
test_with_class.py::Tests::test_c_extract PASSED
EB
class Tests:
def test_a_sum(self):
assert 2+2 == 4
def test_b_multiply(self):
assert 3*3 == 9
def test_c_extract(self):
assert 10-2 == 8
T
EB
EB
T
А

А
T
T
EB
T
А
T
А
EB
T
T