in Python by

Q. Which of the following decorator is used to transform a user defined function into a fixture using pytest?

A. @pytest

B. @pytest.fixture 

C. @pytest.fixtures

D. @fixtures 

1 Answer

0 votes
by
Ans is

@pytest.fixture
...