AS a developer, I want jest setup with the accompanying tests created #1

Closed
opened 2021-03-08 18:57:16 +00:00 by Vylpes · 1 comment
Vylpes commented 2021-03-08 18:57:16 +00:00 (Migrated from github.com)

Story Points: 8


AS a developer, I want jest setup with the accompanying tests created
SO THAT I can prove functionality works and keeps working with further changes to the codebase

Acceptance Criteria

AS a developer
GIVEN I want to test my code
WHEN I run the command yarn test
THEN I should see jest run
AND all tests should pass

AS a developer
GIVEN I want to check my code coverage
WHEN I run the command yarn test --coverage
THEN I should see the coverage report
AND the coverage should be as high as possible

AS a developer
GIVEN I want to lint my code
WHEN I run the command yarn lint
THEN I should see the linter results
AND all should pass

Subtasks

  • Install Jest
  • Setup Jest Command
  • Write tests
  • Setup linter
Story Points: 8 --- AS a developer, I want jest setup with the accompanying tests created SO THAT I can prove functionality works and keeps working with further changes to the codebase ## Acceptance Criteria AS a developer GIVEN I want to test my code WHEN I run the command `yarn test` THEN I should see jest run AND all tests should pass AS a developer GIVEN I want to check my code coverage WHEN I run the command `yarn test --coverage` THEN I should see the coverage report AND the coverage should be as high as possible AS a developer GIVEN I want to lint my code WHEN I run the command `yarn lint` THEN I should see the linter results AND all should pass ## Subtasks - [x] Install Jest - [x] Setup Jest Command - [x] Write tests - [x] Setup linter
Vylpes added the
type
story
needs criteria
needs estimate
labels 2023-01-06 14:53:00 +00:00
Vylpes added this to the 2.1 milestone 2023-02-12 13:48:03 +00:00
Vylpes changed title from Create Tests to AS a developer, I want jest setup with the accompanying tests created 2023-02-12 13:49:50 +00:00
Vylpes removed the
needs criteria
label 2023-02-12 13:54:21 +00:00
Vylpes added a new dependency 2023-02-19 14:24:39 +00:00
Vylpes removed the
needs estimate
label 2023-02-19 14:26:00 +00:00
Vylpes added this to the 2.1 Sprint 1 project 2023-02-19 14:28:52 +00:00
Vylpes self-assigned this 2023-02-24 17:35:19 +00:00
Vylpes started working 2023-03-01 17:45:54 +00:00
Vylpes stopped working 2023-03-01 18:16:45 +00:00
30 minutes 51 seconds
Vylpes modified the project from 2.1 Sprint 1 to 2.1 Sprint 2 2023-04-16 16:00:56 +01:00
Vylpes started working 2023-04-17 17:35:22 +01:00
Vylpes stopped working 2023-04-17 18:31:25 +01:00
56 minutes 3 seconds
Vylpes started working 2023-04-19 18:18:10 +01:00
Vylpes canceled time tracking 2023-04-19 18:36:09 +01:00
Vylpes started working 2023-04-19 18:36:11 +01:00
Vylpes stopped working 2023-04-19 19:00:56 +01:00
24 minutes 45 seconds
Vylpes started working 2023-04-21 17:28:57 +01:00
Vylpes stopped working 2023-04-21 17:57:00 +01:00
28 minutes 3 seconds
Vylpes referenced this issue from a commit 2023-04-22 13:20:31 +01:00
VylpesTester started working 2023-04-22 14:40:39 +01:00
Member

Testing passes and with a decent enough code coverage that I'm happy with.

image

Linting passes with no errors or warnings.

image

Passed.

Testing passes and with a decent enough code coverage that I'm happy with. ![image](/attachments/46c6dee0-e473-4a40-a512-8fffc87efcb9) Linting passes with no errors or warnings. ![image](/attachments/79aac575-a35f-4aee-b103-da5005b9b8c1) Passed.
VylpesTester stopped working 2023-04-22 14:45:16 +01:00
4 minutes 37 seconds
Sign in to join this conversation.
No milestone
No project
No assignees
2 participants
Notifications
Total time spent: 2 hours 24 minutes
VylpesTester
4 minutes 37 seconds
Vylpes
2 hours 19 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#1
No description provided.