Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can we have MongoDB/Postgres to persist Mocks instead of file system #269

Open
vlolla opened this issue Jan 19, 2023 · 1 comment
Open

Comments

@vlolla
Copy link

vlolla commented Jan 19, 2023

No description provided.

@gwleclerc
Copy link
Collaborator

As many people are asking to use Smocker not as a testing tool but as a means of simulating missing services in a persistent environment. We plan to use an ORM to support both SQLite and Postgres to store sessions, mocks and histories.

Today we only use it as a volatile testing tool, and we want to keep this philosophy as much as possible.

This also explains a number of our choices, such as

  • Smocker must be able to start without dependencies.
  • Modifying a mock when it has already been called makes no sense, as it would make the call history inconsistent.

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

No branches or pull requests

2 participants