Skip to content
Sharp

Testing · interview question

Which option describes the most likely pitfall around tmp_path and file tests?

Multiple choiceHardchapter-9-curatedpremiumtestingtmp-path-and-file-tests
Choose one answer
Answer and explanation

Correct answer

D. Tests that depend on one developer's local files are brittle and misleading.

Why

Tests that depend on one developer's local files are brittle and misleading. Calling out that risk matters because candidates sound production-ready when they talk about test isolation as a reliability issue.

Test yourself on Testing

A free test with instant, explained results. No account needed.

Start free test
All Testing questions →