I applied online. I interviewed at Infosys (Bangalore Rural) in Mar 2026
Interview
What is a fixture in pytest?
What are different types of fixtures?
What is the scope of a fixture?
What is conftest.py and why is it used?
How do you share fixtures across multiple files?
What are pytest markers?
How do you create custom markers?
How do you run tests using markers?
What is the -k option in pytest?
What is the difference between -k and -m?
How do you run a specific test function?
How do you run multiple test functions?
What is parameterization in pytest?
What is xfail in pytest?
Difference between skip and xfail?
What are pytest hooks?
What is pytest_runtest_makereport?
How do you capture screenshots on failure?
How do you pass command-line arguments in pytest?
What is the purpose of pytest.ini?
It was good and friendly interviewer, it was 2 levels and both were technical and then hr round was taken . But it was a little delay to get the offer in hand and the joining date was also announced late
I applied through college or university. I interviewed at Infosys (Thiruvananthapuram) in Oct 2022
Interview
One to one interview. Basic, medium and advanced questions asked. More questions were based on technical skills. Two three questions on generic questions. Overall interview was average and I accepted the offer