Skip to content

feat: add entity-database-adapter-knex-testing-utils containing StubPostgresDatabaseAdapter#412

Open
wschurman wants to merge 1 commit intowschurman/02-01-chore_add_claude.md_and_disallow_test.skipfrom
wschurman/02-01-feat_add_entity-database-adapter-knex-testing-utils_containing_stubpostgresdatabaseadapter
Open

feat: add entity-database-adapter-knex-testing-utils containing StubPostgresDatabaseAdapter#412
wschurman wants to merge 1 commit intowschurman/02-01-chore_add_claude.md_and_disallow_test.skipfrom
wschurman/02-01-feat_add_entity-database-adapter-knex-testing-utils_containing_stubpostgresdatabaseadapter

Conversation

@wschurman
Copy link
Member

@wschurman wschurman commented Feb 1, 2026

Why

As of moving raw and conjunction loading into the entity-database-adapter-knex package, the stub database adapater is no longer as useful in applications that use the package (it used to support conjunction loading synthetically for unit tests).

How

This PR adds a new package, entity-database-adapter-knex-testing-utils that provides what StubDatabaseAdapter used to be (it has conjunction loading).

The idea is that applications that use entity-database-adapter-knex will use this package for their stub database needs and unit test companion provider.

Test Plan

Full test coverage.

Copy link
Member Author

wschurman commented Feb 1, 2026

@codecov
Copy link

codecov bot commented Feb 1, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (4d8492f) to head (fe53e07).

Additional details and impacted files
@@                                      Coverage Diff                                      @@
##           wschurman/02-01-chore_add_claude.md_and_disallow_test.skip      #412    +/-   ##
=============================================================================================
  Coverage                                                      100.00%   100.00%            
=============================================================================================
  Files                                                             103       106     +3     
  Lines                                                           13590     13941   +351     
  Branches                                                         1125       685   -440     
=============================================================================================
+ Hits                                                            13590     13941   +351     
Flag Coverage Δ
integration 17.55% <0.00%> (-0.46%) ⬇️
unittest 97.42% <100.00%> (+0.06%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@wschurman wschurman force-pushed the wschurman/02-01-feat_add_entity-database-adapter-knex-testing-utils_containing_stubpostgresdatabaseadapter branch 4 times, most recently from 5682b58 to 0e47362 Compare February 1, 2026 19:56
@wschurman wschurman force-pushed the wschurman/02-01-feat_add_entity-database-adapter-knex-testing-utils_containing_stubpostgresdatabaseadapter branch from 0e47362 to 083cd59 Compare February 4, 2026 03:31
@wschurman wschurman force-pushed the wschurman/02-01-chore_add_claude.md_and_disallow_test.skip branch from 6fd729f to 48e63e9 Compare February 4, 2026 03:31
@wschurman wschurman requested a review from ide February 4, 2026 03:38
@wschurman wschurman marked this pull request as ready for review February 4, 2026 03:38
@wschurman wschurman force-pushed the wschurman/02-01-feat_add_entity-database-adapter-knex-testing-utils_containing_stubpostgresdatabaseadapter branch from 083cd59 to fe53e07 Compare February 4, 2026 21:29
@wschurman wschurman force-pushed the wschurman/02-01-chore_add_claude.md_and_disallow_test.skip branch from 48e63e9 to 4d8492f Compare February 4, 2026 21:29
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.

1 participant