Bird
0
0

After running coverage run manage.py test, which command shows a detailed HTML report of coverage?

medium📝 Predict Output Q4 of 15
Django - Testing Django Applications
After running coverage run manage.py test, which command shows a detailed HTML report of coverage?
Acoverage html
Bcoverage report
Ccoverage show
Dcoverage summary
Step-by-Step Solution
Solution:
  1. Step 1: Understand coverage report commands

    'coverage report' shows text summary, 'coverage html' generates HTML report files.
  2. Step 2: Identify command for HTML output

    coverage html 'coverage html' creates a browsable HTML report of coverage results.
  3. Final Answer:

    coverage html -> Option A
  4. Quick Check:

    HTML coverage report = coverage html [OK]
Quick Trick: Use 'coverage html' for detailed browser report [OK]
Common Mistakes:
MISTAKES
  • Using 'coverage report' expecting HTML
  • Trying non-existent commands like 'coverage show'
  • Confusing summary with HTML output

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Django Quizzes