Skip to content

refactor(cdb): clarify wording + simplify testing - #45

Merged
ShaunSHamilton merged 4 commits into
freeCodeCamp:mainfrom
ojeytonwilliams:refactor/clarify-and-simplify
Nov 10, 2026
Merged

ShaunSHamilton merged 4 commits into
freeCodeCamp:mainfrom
ojeytonwilliams:refactor/clarify-and-simplify

Conversation

@ojeytonwilliams

Copy link
Copy Markdown
Contributor
  • refactor: reword curriculum's server.yaml
  • refactor(cdb): remove redundant test
  • refactor(cdb): provide default CDB_MIGRATOR_URL (panic if missing)

Checklist:

These were all things that tripped me up when trying to understand the tests and understand what was being tested.

Explanations in commit messages.

This clarifies a few points I found confusing
sqlx already implicitly requires unique versions since migration will
fail if there are duplicates.  Since other tests include migrations we
still have coverage.
Silently ignoring tests can be confusing: ideally tests should either
pass or fail.

Now devs will get a failure and a hint about how to fix it.
@ShaunSHamilton

Copy link
Copy Markdown
Member

All fun and games, until that path does exist...

@ShaunSHamilton
ShaunSHamilton merged commit 32530d3 into freeCodeCamp:main Nov 10, 2026
8 checks passed
@ojeytonwilliams
ojeytonwilliams deleted the refactor/clarify-and-simplify branch November 10, 2026 13:57
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