Skip to content

Conversation

illicitonion
Copy link
Member

Previously they were:

  1. Very repetitive, having the trainees solve the same problem more than once which was confusing and not a great use of time.
  2. Large. Reviewing the whole PR for the sprint took a long time, so was very daunting for reviewers, and led to review backlogs.
  3. Hard to track who was doing the stretch, because it was maybe in the same PR or just maybe missing from the PR.

Instead:

  1. Re-use their implementation for both sets of tests - this emphasises also that the point of the exercise is writing tests different ways.
  2. Split off the practice-tdd and stretch into their own expected separate PRs.
  3. Fix up a bunch of inconsistent formatting.

Previously they were:
1. Very repetitive, having the trainees solve the same problem more
   than once which was confusing and not a great use of time.
2. Large. Reviewing the whole PR for the sprint took a long time, so was
   very daunting for reviewers, and led to review backlogs.
3. Hard to track who was doing the stretch, because it was maybe in the
   same PR or just maybe missing from the PR.

Instead:
1. Re-use their implementation for both sets of tests - this emphasises
   also that the point of the exercise is writing tests different ways.
2. Split off the practice-tdd and stretch into their own expected
   separate PRs.
3. Fix up a bunch of inconsistent formatting.

This comment was marked as resolved.

@illicitonion illicitonion merged commit 3a84e5c into main Sep 2, 2025
1 check failed
@illicitonion illicitonion deleted the rework-sprint3 branch September 2, 2025 13:43
Copy link

@jenny-alexander jenny-alexander left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great - I suggested 3 small typo changes. Thank you for making this change!

https://code.visualstudio.com/docs/editor/testing

1. Go to rewrite-tests-with-jest/1-get-angle-type.test.js
1. Click the green play button to run the test. It's on the left of the test function in the gutter.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
1. Click the green play button to run the test. It's on the left of the test function in the gutter.
2. Click the green play button to run the test. It's on the left of the test function in the gutter.


1. Go to rewrite-tests-with-jest/1-get-angle-type.test.js
1. Click the green play button to run the test. It's on the left of the test function in the gutter.
1. Read the output in the TEST_RESULTS tab at the bottom of the screen.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
1. Read the output in the TEST_RESULTS tab at the bottom of the screen.
3. Read the output in the TEST_RESULTS tab at the bottom of the screen.

1. Go to rewrite-tests-with-jest/1-get-angle-type.test.js
1. Click the green play button to run the test. It's on the left of the test function in the gutter.
1. Read the output in the TEST_RESULTS tab at the bottom of the screen.
1. Explore all the tests in this repo by opening the TEST EXPLORER tab. The logo is a beaker.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
1. Explore all the tests in this repo by opening the TEST EXPLORER tab. The logo is a beaker.
4. Explore all the tests in this repo by opening the TEST EXPLORER tab. The logo is a beaker.

@illicitonion
Copy link
Member Author

Pushed fixes to the bullet points in 8f3d6cf :) Thanks @jenny-alexander!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants