+1 vote
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

Related questions

0 votes
asked Jul 2, 2020 in Python by GeorgeBell
0 votes
asked Jul 2, 2020 in Python by GeorgeBell
...