Skip to content

Use Cases Lack Key Extensions and Alternative Scenarios in Developer Guide #9

Description

@bbryant824

Bug Report: Use Cases Lack Key Extensions and Alternative Scenarios

Title: The use cases in the Developer Guide are missing important details about extensions and alternative flows.


Description

The use cases in the Developer Guide, such as "Add Contact" and "Update Event," only show the main success scenario. They don’t include important details like what happens if the user enters invalid data or tries to add a duplicate entry. This makes it harder for developers to handle these scenarios properly.


Expected Behavior

Each use case should cover more than just the happy path. It should also include:

  • What happens if the user enters invalid data.
  • How the system handles duplicate entries.
  • What the user sees if they cancel the process.

Actual Behavior

Several use cases only describe the main steps without mentioning edge cases or errors. For example:

  • "Add Contact" doesn’t explain what happens if the user tries to add a duplicate contact.
  • "Update Event" doesn’t include scenarios for invalid inputs like missing dates or non-existent attendees.

Severity

severity.VeryLow


Type

type.DocumentationBug


Why This Is a Problem

  • Incomplete Guidance: Developers don’t know how to handle edge cases, which could lead to bugs or unhandled errors.
  • Frustration for Future Developers: Without clear documentation, new developers might spend extra time figuring out how to handle common scenarios.
  • Potential for Bugs: Missing these details increases the risk of errors when implementing or updating features.

Suggestions for Improvement

  1. Add Extensions to Use Cases:

    • For example, in "Add Contact":
      • 1a. User tries to add a duplicate contact.
      • 1a1. System shows an error message.
      • Use case resumes at Step 1.
  2. Include Alternative Flows:

    • Show what happens if the user cancels a process or enters invalid data.
    • Example for "Update Event":
      2a. User enters invalid attendee index.  
      2a1. System shows an error message.  
      Use case resumes at Step 2.  
      

Screenshot 2024-11-08 at 5.25.51 PM.png

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions