Design tests that challenge the draft · 3 Lessons
English

Understand and Review AI Code

Module 3 – Design tests that challenge the draft

Page 3 of 3 · About 15 minutes per lesson, including practice.

Test coverage is a set of questions

This threshold function accepts any integer. The current tests say nothing about validating scores outside 0 through 100, retrieving student data, or persisting progress. If those are requirements, add explicit behavior and corresponding tests. Do not quietly assume that a function name or three green checks covers the whole application.

Review your source, predictions, and actual results yourself. Use the automated check feedback to revisit mistakes and choose the next test.

Example code on Agila Forge ↗

Complete this lesson

Answer every check correctly to earn your lesson certificate. Feedback helps you review and try again.

Sign in · Save your progress and earn a certificate for this lesson.