AllRounder.ai
Chapters in this course

Enrol to start learning

Reading is open to everyone. Enrolling is free, and it is what unlocks the audio lessons, practice tests and progress tracking.

Enrol free

14.2.7. T - Testable

Interactive Audio Lesson

Session 1: Understanding User Stories

Unlock the classroom podcast

The transcript is free to read. A free account plays the conversation back.

Sarah
SarahInstructor

To start off, can anyone tell me what a user story is?

Noah
Noah

Isn't it just a way to say what features we need?

Sarah
SarahInstructor

Great point! A user story is a short description of a feature from the end-user's perspective. Why is it useful to frame it that way?

Isabella
Isabella

It helps us understand the user's needs better!

Sarah
SarahInstructor

Exactly! The typical format is 'As a [type of user], I want [goal], So that [reason/benefit].' Let's create a user story together for a new feature.

Akash
Akash

How about 'As a reader, I want to bookmark articles so that I can read them later'?

Sarah
SarahInstructor

Fantastic! That’s a well-structured user story. Remember, it clarifies the user's needs and intention.

Session 2: INVEST Criteria

Unlock the classroom podcast

The transcript is free to read. A free account plays the conversation back.

Robert
RobertInstructor

Now, let's talk about the INVEST model. Does anyone know what those letters stand for?

Isabella
Isabella

Hmm, Independent, Negotiable... um, I can’t remember the rest!

Robert
RobertInstructor

No problem! It’s easy to remember if you think of it as needing to be small enough to complete within a sprint, and testable. Can anyone guess what 'testable' means in this context?

Akash
Akash

I think it means we need to have clear criteria to check if it’s done?

Robert
RobertInstructor

That’s it! Acceptance criteria define conditions for acceptance and testing and are crucial for aligning the development team's understanding.

Session 3: Writing Acceptance Criteria

Unlock the classroom podcast

The transcript is free to read. A free account plays the conversation back.

Sarah
SarahInstructor

Let’s focus now on acceptance criteria. Can anyone provide examples of what might qualify for acceptance criteria in a user story?

Noah
Noah

I think we could say 'a reset password link is sent to the user's email'?

Sarah
SarahInstructor

Exactly! And it should also have other conditions like 'the link expires after 24 hours.' Why do we need multiple criteria?

Ananya
Ananya

It ensures all requirements are covered for testing!

Sarah
SarahInstructor

Right! It creates a shared understanding between stakeholders and the development team, facilitating better communication.

Session 4: Gherkin Language

Unlock the classroom podcast

The transcript is free to read. A free account plays the conversation back.

Robert
RobertInstructor

Let’s shift gears to Gherkin language. Does anyone know how to express an acceptance test using Gherkin syntax?

Akash
Akash

Isn't it 'Given, When, Then' format?

Robert
RobertInstructor

That’s correct! Can someone provide an example using this structure for our previous user story?

Isabella
Isabella

Okay, how about: 'Given the user is on the login page, When the user clicks on forgot password, Then a reset link should be sent to their email.'

Robert
RobertInstructor

Perfect! You've just demonstrated how Gherkin creates clarity and testability in user stories.