Skip to content

[epic] Experiment with mockable operations#482

Closed
josephjclark wants to merge 14 commits intomainfrom
adaptors-mocks-improved
Closed

[epic] Experiment with mockable operations#482
josephjclark wants to merge 14 commits intomainfrom
adaptors-mocks-improved

Conversation

@josephjclark
Copy link
Copy Markdown
Collaborator

Experimenting with:

  • Alternative adaptor stucture
  • Mockable functions for unit and integration tests
  • job code as unit tests and example documentation

See tutorial.md for a guide to the changes.

@josephjclark josephjclark marked this pull request as draft March 13, 2024 05:59
@josephjclark josephjclark changed the title Fancy mocks experiements Experiment with mockable operations Mar 13, 2024
@josephjclark
Copy link
Copy Markdown
Collaborator Author

One possible benefit of the operation/impl split is that you could call the impl directly from job code, allowing you to do nested operations more easily. Although even as I type this it feels like bad practice. Would it make women-for-women any cleaner?

@mtuchi mtuchi mentioned this pull request Mar 21, 2024
@josephjclark josephjclark changed the title Experiment with mockable operations [epic] Experiment with mockable operations May 8, 2024
@github-project-automation github-project-automation Bot moved this from Icebox to Done in Core Feb 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants