What are preconditions in a use case specification?

The conditions that must be true for this use case to begin

Preconditions describe what must be true in the system and environment before a use case can start. They set the starting point so the scenario can proceed without issues. For example, a login use case requires the user to provide valid credentials and the authentication service to be reachable; a purchase use case might require the item to be in stock and the user to be authenticated. If these conditions aren’t met, the use case can’t begin and you’d handle it with an alternate flow or an error message.

Postconditions describe the results after the use case completes, not the starting state. Data fields required for input define what the user must provide to proceed and are separate from the conditions needed to start. Error messages that may occur are part of handling exceptions or alternate flows, not the prerequisites for beginning the use case.

The results after completion

The data fields required for input

The error messages that may occur

Want more questions?

All options are one-time payments.

$12.99

30 day pass for new members

All the basics to get you started

  • Ad-free experience
  • View your previous attempt history
  • Mobile app access
  • In-depth explanations
  • 30 day premium pass access
$29.99 $92.93 usd

6 month DELUXE pass (most popular)

Everything with the 30 day premium pass FOR 6 MONTHS! & the ultimate digital PDF study guide (BONUS)

  • Everything included in the premium pass
  • $92.93 usd value for $29.99! You save $62.94!
  • + Access to the ultimate digital PDF study guide
  • + 6 months of premium pass access
  • + Priority support
$14.99 $19.99

Ultimate digital PDF study guide

For those that prefer a more traditional form of learning

  • Available for instant download
  • Available offline
  • Hundreds of practice multiple choice questions
  • Comprehensive content
  • Detailed explanations
Image Description
Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy