AS a command line user, I want to be able to interact with the sort option #74

Closed
opened 2023-07-02 14:37:04 +01:00 by Vylpes · 2 comments
Owner

Epic: #70
Story Points: 3


AS a command line user, I want to be able to interact with the sort option
SO THAT I can use different sort options than just the default

Acceptance Criteria

AS a command line user
GIVEN I want to sort by a non-default option
WHEN I input with the sort tag an option ('new', 'top', or 'hot')
THEN the randomiser will select based on these sort options instead

AS a command line user
GIVEN I want to sort by the default option
WHEN I don't supply the sort tag
THEN the default will be used

AS a command line user
GIVEN I supply an incorrect option to the sort tag
WHEN I run the command
THEN I will be given an error message

Subtasks

  • Add sort tag
  • Update help message
  • Update tests
  • #125

Notes

  • The sort tag is --sort
Epic: #70 Story Points: 3 --- AS a command line user, I want to be able to interact with the sort option SO THAT I can use different sort options than just the default ## Acceptance Criteria AS a command line user GIVEN I want to sort by a non-default option WHEN I input with the sort tag an option ('new', 'top', or 'hot') THEN the randomiser will select based on these sort options instead AS a command line user GIVEN I want to sort by the default option WHEN I don't supply the sort tag THEN the default will be used AS a command line user GIVEN I supply an incorrect option to the sort tag WHEN I run the command THEN I will be given an error message ## Subtasks - [x] Add sort tag - [x] Update help message - [x] Update tests - [x] #125 ## Notes - The sort tag is `--sort`
Vylpes added the
type
story
needs criteria
needs estimate
labels 2023-07-02 14:37:12 +01:00
Vylpes added this to the 2.2 milestone 2023-07-02 14:37:19 +01:00
Vylpes changed title from Sort command line option to AS a command line user, I want to be able to interact with the sort option 2023-07-30 15:01:29 +01:00
Vylpes removed the
needs criteria
label 2023-07-30 15:04:35 +01:00
Vylpes added a new dependency 2023-07-30 15:04:44 +01:00
Vylpes added the
blocked
label 2023-07-30 15:06:55 +01:00
Vylpes removed the
blocked
label 2023-10-27 15:55:44 +01:00
Vylpes removed the
needs estimate
label 2023-11-19 14:31:16 +00:00
Vylpes added this to the 2.2 Sprint 3 project 2023-11-26 15:10:32 +00:00
Vylpes self-assigned this 2023-11-28 18:11:51 +00:00
Vylpes started working 2023-12-05 17:16:31 +00:00
Vylpes stopped working 2023-12-05 18:01:14 +00:00
44 minutes 43 seconds
VylpesTester referenced this issue from a commit 2023-12-08 17:10:02 +00:00
Member

Tests timed out

Tests timed out
VylpesTester added spent time 2023-12-08 17:13:49 +00:00
2 minutes
Vylpes modified the project from 2.2 Sprint 3 to 2.2 Sprint 4 2024-01-07 15:03:35 +00:00
Member

This has passed testing. The --sort option now appears in the help menu, defaults to "hot" when nothing inputted, and throws an error if the option is invalid

Screenshot 2024-01-20 at 15.59.56

This has passed testing. The `--sort` option now appears in the help menu, defaults to "hot" when nothing inputted, and throws an error if the option is invalid ![Screenshot 2024-01-20 at 15.59.56](/attachments/02fa680a-63c2-4bd5-a572-6748270c72bd)
VylpesTester added spent time 2024-01-20 16:01:12 +00:00
5 minutes
Sign in to join this conversation.
No milestone
No project
No assignees
2 participants
Notifications
Total time spent: 51 minutes 43 seconds
Vylpes
44 minutes 43 seconds
VylpesTester
7 minutes
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference: RabbitLabs/random-bunny#74
No description provided.