Heads up! To view this whole video, sign in with your Courses account or enroll in your free 7-day trial. Sign In Enroll
Start a free Courses trial
to watch this video
In software we use the terms Happy Path and Edge Cases as ways to describe what the feature was intended to do, versus what our users might actually do.
Definitions:
- Happy Path: Testing with only the acceptance criteria of the feature.
- Edge Cases: Testing outside of the base assumptions, finding different ways to use a feature that were not intended.
- Inputs: Where a user can create their own data or interact with the application
- State management: features that may work in different ways depending on actions taken by the user
Common things to look for with user behavior:
- Inputs - anything where the user can type something in, add a photo or file, or click/drag/move things in the application.
- State management - Doing an action in one part of the app that affects what can happen in another part of the app. Think workflows or how the user navigates through the application.
Common edge case questions to ask:
-
Can the user enter anything in this text field?
- How much can they enter?
- Can they enter special characters?
- Is it numbers only, alphanumeric characters only, date only?
-
Is this icon always draggable?
- Where can I drag it?
-
Can I upload a file?
- What kind of files are supported?
- How large can the file be?
Related Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign upRelated Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign up
You need to sign up for Treehouse in order to download course files.
Sign upYou need to sign up for Treehouse in order to set up Workspace
Sign up