What Your Tests Actually Prove · Intermediate
What Your Tests Actually Prove
15 practice questions on What Your Tests Actually Prove. Every question is written from a specific moment in a real lecture, and after you answer it links to that exact timestamp so you can check it yourself.
What this pack asks
The free questions in this pack. Answer choices and explanations appear as you play.
A project keeps test_slapping.py right beside slap_that_like_button.py, and the test does: … The suite is green. A developer then moves the tests into a separate tests/ directory and the import immediately breaks. What did the green suite never establish?
Answer this one →A team adds a filter that scrubs email addresses out of log messages and attaches it to the console handler of a logger that also has a file handler. A test captures console output, asserts no address appears, and passes. Production log files still contain addresses. Why is the suite green?
Answer this one →
Written from lectures by mCoding. Not affiliated with or endorsed by any university, channel, creator or certification program.