---
title: "Comment by David Carr on \"The 3 A's of testing\" | Hashnode"
description: "I like to think about tests in the given, when then. So Given I have a user with the correct permissions, When I click send report Then a record will be created"
url: "https://hashnode.com/posts/the-3-as-of-testing/6595e7fef8c1abf48b1f6ff1/comment/6596d17c1aadc67192539681"
---

[Discussion](https://hashnode.com/posts/the-3-as-of-testing/6595e7fef8c1abf48b1f6ff1)

Comment [The 3 A's of testing](https://hashnode.com/posts/the-3-as-of-testing/6595e7fef8c1abf48b1f6ff1)

[David Carr](https://hashnode.com/@dcblogdev)

[Jan 4, 2024](https://hashnode.com/posts/the-3-as-of-testing/6595e7fef8c1abf48b1f6ff1/comment/6596d17c1aadc67192539681)

I like to think about tests in the given, when then.

So

**Given** I have a user with the correct permissions,

**When** I click send report

**Then** a record will be created and a PDF will be generated.
