Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Can the Codecept home page examples be re-written to be Third Person perspective instead of First Person? #4974

TangoDeltaDelta started this conversation in Ideas
Discussion options

It is generally agreed that using Third Person perspective is preferred to using First Person perspective when writing BDD tests. Granted that's not universal, but far more recommendations are for Third Person. E.g. as one example: https://automationpanda.com/2017/01/18/should-gherkin-steps-use-first-person-or-third-person/

From Google search (https://www.google.com/search?q=codecept+first-person+vs+third-person):

Recommendation:
While both perspectives can be used in Codeception, third-person is generally recommended for its clarity, reusability, and ability to describe a wider range of scenarios.
Consistency:
It's best to choose one point of view for an entire project and use it consistently across all test scenarios.

So it would be good if the examples on the home page for codecept.io could be re-written to use Third Person perspective. We use that all the time with our tests so test scenarios can be written more clearly specifying "admin user", "normal user", "view-only user", etc.

You must be logged in to vote

Replies: 0 comments

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Ideas
Labels
None yet
1 participant

AltStyle によって変換されたページ (->オリジナル) /