From 73c1edd07dabce5831e1b307781fdaf7c5142f27 Mon Sep 17 00:00:00 2001 From: Jonathan Stowell Date: Wed, 8 Sep 2021 07:38:28 +0100 Subject: [PATCH 1/4] refactor user stories to make the requirements clear --- README.md | 25 +++++++++++++++---------- 1 file changed, 15 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index faf50a5..e3dbbe8 100644 --- a/README.md +++ b/README.md @@ -47,19 +47,24 @@ Feel free to spend as much or as little time on the exercise as you like as long ### User Story -As a **user running the application** -I can **view a list of restaurants in a user submitted outcode (e.g. SE19)** -So that **I know which restaurants are currently available** +Given I am a **user running the application** +When I **submit an outcode (e.g. SE19)** +Then I want to see a **list of restaurants** +And I only want to see **restaurants that are currently open** If you have chosen a native mobile application platform please also include the following: -As a **user running the application** -I can **view the restaurant logo alongside restaurant information** -So that **I know exactly which restaurants are currently available** - -As a **user running the application** -I can **use GPS to find my current postcode to retrieve restaurant results** -So that **I don't need to type it in** +Given I am a **user running the application** +When I **submit an outcode (e.g. SE19)** +Then I want to see a **list of restaurants** +And I only want to see **restaurants that are currently open** +And I want to see **the restaurant logo alongside the restaurant information** + +Given I am a **user running the application** +When I click auto detect outcode it should **use GPS to find my current postcode to retrieve restaurant results** +Then I want to see a **list of restaurants** +And I only want to see **restaurants that are currently open** +And I want to see **the restaurant logo alongside the restaurant information** #### Acceptance criteria From 09f92c1ed1abcf0768b41269a4c46cf26ff37eb8 Mon Sep 17 00:00:00 2001 From: Jonathan Stowell Date: Wed, 8 Sep 2021 07:43:35 +0100 Subject: [PATCH 2/4] add guidance around how long to spend on the test --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index e3dbbe8..c99234a 100644 --- a/README.md +++ b/README.md @@ -37,7 +37,7 @@ Think about the type of work you would like to do at Just Eat and **choose an a ### Task requirements -Feel free to spend as much or as little time on the exercise as you like as long as the following requirements have been met. +Feel free to spend as much or as little time on the exercise as you like as long as the following requirements have been met. However, we understand people have busy lives and would guide you to spend around 2-3 hours on a submission. We also take into consideration the [Answers to technical questions.md](#technical-questions) file and what you would like to have added if you had more time. You should look at this as the complete solution, it's much quicker to explain what you would like to have done than code it. - Please complete the user story below. - Your code should compile and run in one step. From 305538004248e6ee04db7872b9fe70ff257df4be Mon Sep 17 00:00:00 2001 From: Jonathan Stowell Date: Wed, 8 Sep 2021 07:57:39 +0100 Subject: [PATCH 3/4] Indicate that outcode auto detection is a UI element via quotes Co-authored-by: Martin Costello --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index c99234a..845ddf2 100644 --- a/README.md +++ b/README.md @@ -61,7 +61,7 @@ And I only want to see **restaurants that are currently open** And I want to see **the restaurant logo alongside the restaurant information** Given I am a **user running the application** -When I click auto detect outcode it should **use GPS to find my current postcode to retrieve restaurant results** +When I click "auto detect outcode" it should **use GPS to find my current postcode to retrieve restaurant results** Then I want to see a **list of restaurants** And I only want to see **restaurants that are currently open** And I want to see **the restaurant logo alongside the restaurant information** From fc20ae190fd8eb9f11c673585ed0795547637fc6 Mon Sep 17 00:00:00 2001 From: Jonathan Stowell Date: Wed, 8 Sep 2021 08:26:46 +0100 Subject: [PATCH 4/4] reword guidance around how long to spend on the test --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 845ddf2..ce46924 100644 --- a/README.md +++ b/README.md @@ -37,7 +37,7 @@ Think about the type of work you would like to do at Just Eat and **choose an a ### Task requirements -Feel free to spend as much or as little time on the exercise as you like as long as the following requirements have been met. However, we understand people have busy lives and would guide you to spend around 2-3 hours on a submission. We also take into consideration the [Answers to technical questions.md](#technical-questions) file and what you would like to have added if you had more time. You should look at this as the complete solution, it's much quicker to explain what you would like to have done than code it. +Feel free to spend as much or as little time on the exercise as you like as long as the following requirements have been met. However, we understand people have busy lives and would guide you to spend no more than 2-3 hours on a submission. We also take into consideration the [Answers to technical questions.md](#technical-questions) file and what you would like to have added if you had more time. You should look at this as the complete solution, it's much quicker to explain what you would like to have done than code it. - Please complete the user story below. - Your code should compile and run in one step.