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

[Chore] Tests enhancements #497

Open
4 tasks
DenuxPlays opened this issue Feb 10, 2025 · 0 comments
Open
4 tasks

[Chore] Tests enhancements #497

DenuxPlays opened this issue Feb 10, 2025 · 0 comments
Labels

Comments

@DenuxPlays
Copy link
Contributor

Instead of having multiple helper method we should have an Tester struct with an TesterBuilder.
Also once loco supports multiple tests we should be able to start opensearch instances when needed using testcontainers.

ToDos:

  • Refactor test setup from using functions to a Tester that initializes everything (returning AppContext or accepting test request)
  • Able the mock apis like GoCardless
  • add switch to start individual Opensearch instance where needed
    • only where needed because it uses a lot of ram and needs time to start up
  • use multithreaded tests when loco support its
@DenuxPlays DenuxPlays changed the title [FEATURE] Tests enhancements [Chore] Tests enhancements Feb 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant