Skip to content

[Server] - Create a @MockDatabase annotation #398

Open

Description

@R-Sandor

Currently there is not any way to do Spring Boot tests without always bring in the test container.

Add the ability to test in a similar fashion to @MockTypesense.

Activity

  1. added this to the DevOps milestone on Nov 2, 2025
  2. self-assigned this
    on Nov 2, 2025
  3. added
    testingTesting the application (integration, unit, E2E, etc)
    on Nov 2, 2025
  4. changed the title [-][Server] - Create a @DatabaseMock[/-] [+][Server] - Create a @MockDatabase[/+] on Nov 2, 2025
  5. changed the title [-][Server] - Create a @MockDatabase[/-] [+][Server] - Create a @MockDatabase annotation[/+] on Nov 2, 2025
  6. tj330 commented on Nov 7, 2025

    @tj330

    Does this mean to add test container to the TypeSenseService?

  7. R-Sandor commented on Nov 10, 2025

    @R-Sandor
    CollaboratorAuthor

    When added annotation mocking Typsense it made it really easy to just set up the mock and focus what the other parts of a service I was working on. I was thinking wouldn't be nice to have simple base mock for the DB as well.

  8. tj330 commented on Nov 10, 2025

    @tj330

    Ok

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

Metadata

Metadata

Assignees

Labels

testingTesting the application (integration, unit, E2E, etc)

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions