Skip to content

Add Laravel-inspired Quick model factories - #355

Merged
elpete merged 1 commit into
nextfrom
feat/testing-factories
Aug 28, 2026
Merged

Add Laravel-inspired Quick model factories#355
elpete merged 1 commit into
nextfrom
feat/testing-factories

Conversation

@elpete

@elpete elpete commented Aug 28, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • add Laravel-inspired Quick model factories under quick.resources.testing
  • support definitions, overrides, named and closure states, counts, sequences, attribute closures, and lifecycle callbacks
  • construct application factories and entity providers through WireBox while persisting exclusively through Quick entities
  • keep factory code isolated from normal module startup so resources/testing can be excluded from production artifacts
  • document transaction ownership and the test-base factory helper pattern

Testing

  • Lucee 5 focused factory integration suite: 6 passed
  • Adobe 2021 focused factory integration suite: 6 passed
  • native BoxLang 1 focused factory integration suite: 6 passed
  • Lucee 5 complete suite: 608 passed, 3 skipped, 0 failures, 0 errors
  • box run-script format:check
  • git diff --check

@elpete
elpete merged commit fbcf968 into next Aug 28, 2026
27 checks passed
@elpete
elpete deleted the feat/testing-factories branch August 28, 2026 21:44
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